Fix T40816, SSS brightness difference with Sample All Direct Lights.
This has been fixed before, but somehow got reverted in d644753319
.
This commit is contained in:
parent
48b7c983da
commit
8ef2314597
Notes:
blender-bot
2023-02-14 10:25:58 +01:00
Referenced by issue #40816, SSS brightness differs with Sample All Direct Lights
|
@ -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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue