From 6c24cafecc9e8353781080ebdc81ae67f9292d3b Mon Sep 17 00:00:00 2001 From: Brecht Van Lommel Date: Tue, 9 Nov 2021 13:04:37 +0100 Subject: Fix T92876: Cycles incorrect volume emission + absorption handling --- intern/cycles/kernel/integrator/shade_background.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'intern/cycles/kernel/integrator/shade_background.h') diff --git a/intern/cycles/kernel/integrator/shade_background.h b/intern/cycles/kernel/integrator/shade_background.h index 24482e85b05..31452de1ca4 100644 --- a/intern/cycles/kernel/integrator/shade_background.h +++ b/intern/cycles/kernel/integrator/shade_background.h @@ -175,7 +175,7 @@ ccl_device_inline void integrate_distant_lights(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); } } } -- cgit v1.2.3