diff --git a/render_povray/render.py b/render_povray/render.py index 9ffa4c8b3b3cc3693438594f1a6c0fa2e08ec181..846edd7a27f48fa5b705fef91a36116171348c3e 100644 --- a/render_povray/render.py +++ b/render_povray/render.py @@ -980,8 +980,8 @@ def write_pov(filename, scene=None, info_callback=None): # Blurry reflections for UberPOV if using_uberpov and raytrace_mirror.gloss_factor < 1.0: #tabWrite("#ifdef(unofficial) #if(unofficial = \"patch\") #if(patch(\"upov-reflection-roughness\") > 0)\n") - tabWrite("roughness %.3g\n" % \ - (1.0/raytrace_mirror.gloss_factor)) + tabWrite("roughness %.6f\n" % \ + (0.00001/raytrace_mirror.gloss_factor)) #tabWrite("#end #end #end\n") # This and previous comment for backward compatibility, messier pov code if material.pov.mirror_use_IOR: # WORKING ? # Removed from the line below: gives a more physically correct