diff options
author | Brecht Van Lommel <brecht@blender.org> | 2021-11-09 15:04:37 +0300 |
---|---|---|
committer | Brecht Van Lommel <brecht@blender.org> | 2021-11-09 15:13:56 +0300 |
commit | 6c24cafecc9e8353781080ebdc81ae67f9292d3b (patch) | |
tree | ea43a296e3a12a5e59e7dd059c9fcc2eb86c9ff8 /intern/cycles/kernel/integrator/shade_light.h | |
parent | cb487b650772cf50e63965f31cd40010cfab4bec (diff) |
Fix T92876: Cycles incorrect volume emission + absorption handling
Diffstat (limited to 'intern/cycles/kernel/integrator/shade_light.h')
-rw-r--r-- | intern/cycles/kernel/integrator/shade_light.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/intern/cycles/kernel/integrator/shade_light.h b/intern/cycles/kernel/integrator/shade_light.h index 7dad3b4e49d..5abe9e98abc 100644 --- a/intern/cycles/kernel/integrator/shade_light.h +++ b/intern/cycles/kernel/integrator/shade_light.h @@ -90,7 +90,7 @@ ccl_device_inline void integrate_light(KernelGlobals kg, /* Write to render buffer. */ const float3 throughput = INTEGRATOR_STATE(state, path, throughput); - kernel_accum_emission(kg, state, throughput, light_eval, render_buffer); + kernel_accum_emission(kg, state, throughput * light_eval, render_buffer); } ccl_device void integrator_shade_light(KernelGlobals kg, |