From 8ef23145975b8d5501d8a0e2b4e7029b12aa803b Mon Sep 17 00:00:00 2001 From: Thomas Dinges Date: Thu, 26 Jun 2014 21:30:19 +0200 Subject: Fix T40816, SSS brightness difference with Sample All Direct Lights. This has been fixed before, but somehow got reverted in d644753319b6. --- intern/cycles/kernel/kernel_path_surface.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'intern/cycles/kernel/kernel_path_surface.h') 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); } } } -- cgit v1.2.3