Skip to content

Commit 1eff938

Browse files
committed
Merge pull request #102424 from Rudolph-B/Issue-102203
Fix over saturated static colored lights
2 parents 9bfff17 + 9cb317c commit 1eff938

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

modules/lightmapper_rd/lm_compute.glsl

+1-1
Original file line numberDiff line numberDiff line change
@@ -648,7 +648,7 @@ void trace_direct_light(vec3 p_position, vec3 p_normal, uint p_light_index, bool
648648
}
649649

650650
r_shadow = penumbra;
651-
r_light = light_data.color * light_data.energy * attenuation * penumbra * penumbra_color;
651+
r_light = light_data.energy * attenuation * penumbra * penumbra_color;
652652
}
653653

654654
#endif

0 commit comments

Comments
 (0)