diff options
author | Thomas Dinges <blender@dingto.org> | 2014-06-26 23:30:19 +0400 |
---|---|---|
committer | Thomas Dinges <blender@dingto.org> | 2014-06-26 23:30:42 +0400 |
commit | 8ef23145975b8d5501d8a0e2b4e7029b12aa803b (patch) | |
tree | 7fd4b334b42bfad1f2b654fee78b0705a4091f7e /intern | |
parent | 48b7c983da4b6e5e58326fb6aedbdde8f8cd980c (diff) |
Fix T40816, SSS brightness difference with Sample All Direct Lights.
This has been fixed before, but somehow got reverted in d644753319b6.
Diffstat (limited to 'intern')
-rw-r--r-- | intern/cycles/kernel/kernel_path_surface.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/intern/cycles/kernel/kernel_path_surface.h b/intern/cycles/kernel/kernel_path_surface.h index 11fadcc6bcf..7700abfbdae 100644 --- a/intern/cycles/kernel/kernel_path_surface.h +++ b/intern/cycles/kernel/kernel_path_surface.h @@ -112,7 +112,7 @@ ccl_device void kernel_branched_path_surface_connect_light(KernelGlobals *kg, RN if(!shadow_blocked(kg, state, &light_ray, &shadow)) { /* accumulate */ - path_radiance_accum_light(L, throughput, &L_light, shadow, num_samples_adjust, state->bounce, is_lamp); + path_radiance_accum_light(L, throughput*num_samples_adjust, &L_light, shadow, num_samples_adjust, state->bounce, is_lamp); } } } |