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:
authorSergey Sharybin <sergey.vfx@gmail.com>2017-09-05 16:38:11 +0300
committerSergey Sharybin <sergey.vfx@gmail.com>2017-09-05 16:48:34 +0300
commitf01e43fac392155b02ae819c466db8bac3826016 (patch)
treecc9325ede867cf41160ef8828f7641c4ca7bbdac /intern/cycles/kernel/split
parent4d85396fe4f7e3a870fb844b5207179f7dd03eb2 (diff)
Fix T52433: Volume Absorption color tint
Need to exit the volume stack when shadow ray laves the medium. Thanks Brecht for review and help in troubleshooting!
Diffstat (limited to 'intern/cycles/kernel/split')
-rw-r--r--intern/cycles/kernel/split/kernel_shadow_blocked_dl.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/intern/cycles/kernel/split/kernel_shadow_blocked_dl.h b/intern/cycles/kernel/split/kernel_shadow_blocked_dl.h
index 19bfee6d039..b52f9a5eb81 100644
--- a/intern/cycles/kernel/split/kernel_shadow_blocked_dl.h
+++ b/intern/cycles/kernel/split/kernel_shadow_blocked_dl.h
@@ -89,6 +89,7 @@ ccl_device void kernel_shadow_blocked_dl(KernelGlobals *kg)
float3 shadow;
if(!shadow_blocked(kg,
+ sd,
emission_sd,
state,
&ray,