From 7831eedf1c24805e6efdd5b7ee659c2095eaa765 Mon Sep 17 00:00:00 2001 From: Hugo Locurcio Date: Fri, 10 Jun 2022 19:37:48 +0200 Subject: [PATCH] Fix directional LightmapGI being too dark with static lights The brightness now matches dynamic lights (indirect light baked only) when Directional is enabled. Co-authored-by: Priyansh Rathi --- 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 c2557dfed38..4d3f2d46a46 100644 --- a/modules/lightmapper_rd/lm_compute.glsl +++ b/modules/lightmapper_rd/lm_compute.glsl @@ -415,7 +415,7 @@ void main() { ); for (uint j = 0; j < 4; j++) { - sh_accum[j].rgb += light * c[j] * (1.0 / 3.0); + sh_accum[j].rgb += light * c[j] * 8.0; } #endif