diff options
author | Hugo Locurcio <hugo.locurcio@hugo.pro> | 2022-06-10 19:37:48 +0200 |
---|---|---|
committer | Hugo Locurcio <hugo.locurcio@hugo.pro> | 2023-09-21 18:00:54 +0200 |
commit | 7831eedf1c24805e6efdd5b7ee659c2095eaa765 (patch) | |
tree | ca862f64f24c47f65e75998bb5b5323f579a76f2 | |
parent | fe5b1c8d49313d63fbe91cb7cdf463e10fb86afa (diff) | |
download | redot-engine-7831eedf1c24805e6efdd5b7ee659c2095eaa765.tar.gz |
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 <techiepriyansh@gmail.com>
-rw-r--r-- | modules/lightmapper_rd/lm_compute.glsl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/lightmapper_rd/lm_compute.glsl b/modules/lightmapper_rd/lm_compute.glsl index c2557dfed3..4d3f2d46a4 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 |