Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender-addons.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaurice Raybaud <mauriceraybaud@hotmail.fr>2011-04-29 18:27:35 +0400
committerMaurice Raybaud <mauriceraybaud@hotmail.fr>2011-04-29 18:27:35 +0400
commit49cb3894dc267e18ec133e5fa8c04fe2943359b7 (patch)
tree6286fc3678f59ad9e82b0c53f292d7370547e6c6 /render_povray
parentb39de231a5389da49ab7add3dd74b297ff9ac6db (diff)
Added support for world texture brightness (intensity) to better tweak HDR lighting.
Diffstat (limited to 'render_povray')
-rw-r--r--render_povray/render.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/render_povray/render.py b/render_povray/render.py
index cfdfddf9..f940991d 100644
--- a/render_povray/render.py
+++ b/render_povray/render.py
@@ -1364,6 +1364,7 @@ def write_pov(filename, scene=None, info_callback=None):
tabWrite("image_map{%s \"%s\" %s}\n" % (imageFormat(texturesBlend), texturesBlend, imgMapBG(t_blend)))
tabWrite("}\n")
tabWrite("%s\n" % (mappingBlend))
+ tabWrite("pigment {rgb 0 transmit %s}\n" % (t.texture.intensity))
tabWrite("}\n")
#tabWrite("scale 2\n")
#tabWrite("translate -1\n")