diff options
author | Brecht Van Lommel <brechtvanlommel@gmail.com> | 2014-06-04 19:54:10 +0400 |
---|---|---|
committer | Brecht Van Lommel <brechtvanlommel@gmail.com> | 2014-06-04 19:57:19 +0400 |
commit | bc4043e79781215ef4f583928cf60717039b178e (patch) | |
tree | 0ee82f3eafe16fed6f878e2358f21d59b72cb720 /intern | |
parent | fc1c7635e8d1492324119d6dce885be7704a0632 (diff) |
Fix T40456: cycles bug with branched path + sss + no sample all direct lights.
Diffstat (limited to 'intern')
-rw-r--r-- | intern/cycles/kernel/kernel_path.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/intern/cycles/kernel/kernel_path.h b/intern/cycles/kernel/kernel_path.h index d760af15def..b57e27400b9 100644 --- a/intern/cycles/kernel/kernel_path.h +++ b/intern/cycles/kernel/kernel_path.h @@ -205,7 +205,7 @@ ccl_device void kernel_branched_path_integrate_direct_lighting(KernelGlobals *kg if(!shadow_blocked(kg, state, &light_ray, &shadow)) { /* accumulate */ - path_radiance_accum_light(L, throughput, &L_light, shadow, 1.0f, state->bounce, is_lamp); + path_radiance_accum_light(L, throughput*num_samples_adjust, &L_light, shadow, num_samples_adjust, state->bounce, is_lamp); } } } |