diff options
Diffstat (limited to 'source/blender/draw/engines/eevee/shaders/closure_eval_translucent_lib.glsl')
-rw-r--r-- | source/blender/draw/engines/eevee/shaders/closure_eval_translucent_lib.glsl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/draw/engines/eevee/shaders/closure_eval_translucent_lib.glsl b/source/blender/draw/engines/eevee/shaders/closure_eval_translucent_lib.glsl index 66c467af29b..183219c9088 100644 --- a/source/blender/draw/engines/eevee/shaders/closure_eval_translucent_lib.glsl +++ b/source/blender/draw/engines/eevee/shaders/closure_eval_translucent_lib.glsl @@ -32,7 +32,7 @@ void closure_Translucent_light_eval(ClosureInputTranslucent cl_in, inout ClosureOutputTranslucent cl_out) { float radiance = light_diffuse(light.data, cl_in.N, cl_common.V, light.L); - cl_out.radiance += light.data.l_color * (light.vis * radiance); + cl_out.radiance += light.data.l_color * (light.data.l_diff * light.vis * radiance); } void closure_Translucent_grid_eval(ClosureInputTranslucent cl_in, |