From 9cb317c7c0cd75afb15f0558fcc445867165bdd1 Mon Sep 17 00:00:00 2001 From: Rudolph Bester Date: Tue, 4 Feb 2025 19:45:36 +0200 Subject: [PATCH] Fix over saturated static colored lights --- modules/lightmapper_rd/lm_compute.glsl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/lightmapper_rd/lm_compute.glsl b/modules/lightmapper_rd/lm_compute.glsl index ea7044c5710..9c05b42e8e7 100644 --- a/modules/lightmapper_rd/lm_compute.glsl +++ b/modules/lightmapper_rd/lm_compute.glsl @@ -648,7 +648,7 @@ void trace_direct_light(vec3 p_position, vec3 p_normal, uint p_light_index, bool } r_shadow = penumbra; - r_light = light_data.color * light_data.energy * attenuation * penumbra * penumbra_color; + r_light = light_data.energy * attenuation * penumbra * penumbra_color; } #endif