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

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Dinges <blender@dingto.org>2014-11-06 00:48:45 +0300
committerThomas Dinges <blender@dingto.org>2014-11-06 00:49:09 +0300
commitfb820c063831a36b9780a8948219e0eb9ff27da2 (patch)
tree44d49b8a35445ceecf8ed29127ef1aaa3289ccc0 /intern/cycles/render/light.h
parent53297e62eb603e61a0033ad2a7d571a258202087 (diff)
Cycles: Add "Max Bounce" control for lamps
With this setting, we can limit the influence of a lamp to a certain amount of bounces. 0 = Only direct light contribution 1 = 1 light bounce ... Differential revision: https://developer.blender.org/D860 You can find an example render in the release logs: http://wiki.blender.org/index.php/Dev:Ref/Release_Notes/2.73/Cycles
Diffstat (limited to 'intern/cycles/render/light.h')
-rw-r--r--intern/cycles/render/light.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/intern/cycles/render/light.h b/intern/cycles/render/light.h
index 89091bb5f9e..cf769ac5aed 100644
--- a/intern/cycles/render/light.h
+++ b/intern/cycles/render/light.h
@@ -58,6 +58,7 @@ public:
int shader;
int samples;
+ int max_bounces;
void tag_update(Scene *scene);
};