diff --git a/render_povray/__init__.py b/render_povray/__init__.py index 82f964704910c364d0419db46c53e8fb273ad1b5..678fc49908cfec9d5986c5a6f72224651c943adf 100644 --- a/render_povray/__init__.py +++ b/render_povray/__init__.py @@ -1390,7 +1390,7 @@ class RenderPovSettingsMaterial(PropertyGroup): description="Values typically range from 0.0 to 1.0 or higher. Zero is no caustics. " "Low, non-zero values give broad hot-spots while higher values give " "tighter, smaller simulated focal points", - min=0.00, max=10.0, soft_min=0.00, soft_max=5.0, default=0.07) + min=0.00, max=10.0, soft_min=0.00, soft_max=5.0, default=0.15) refraction_caustics: BoolProperty( name="Refractive Caustics", description="hotspots of light focused when going through the material", diff --git a/render_povray/render.py b/render_povray/render.py index 0c212fb5f08bfff44a6bd45dfafe546a4447d949..e9f3d457d7970fb37f5cf1065d26ee3969cbf3d6 100644 --- a/render_povray/render.py +++ b/render_povray/render.py @@ -451,10 +451,10 @@ def write_pov(filename, scene=None, info_callback=None): # reflections if IOR Mirror option is checked. elif material.pov.mirror_use_IOR: tabWrite("interior {\n") - tabWrite("ior %.6f\n" % material.pov.ior) + tabWrite("ior %.6f\n" % material.pov_raytrace_transparency.ior) else: tabWrite("interior {\n") - tabWrite("ior %.6f\n" % material.pov.ior) + tabWrite("ior %.6f\n" % material.pov_raytrace_transparency.ior) pov_fake_caustics = False pov_photons_refraction = False