Fix T40456: cycles bug with branched path + sss + no sample all direct lights.

This commit is contained in:
Brecht Van Lommel 2014-06-04 17:54:10 +02:00
parent fc1c7635e8
commit bc4043e797
Notes: blender-bot 2023-02-14 10:34:08 +01:00
Referenced by issue #40456, Branched Path Tracer + SSS incorrect Result
1 changed files with 1 additions and 1 deletions

View File

@ -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);
}
}
}