Skip to content

Commit

Permalink
Fix directional LightmapGI being too dark with static lights
Browse files Browse the repository at this point in the history
The brightness now matches dynamic lights (indirect light baked only)
when Directional is enabled.

Co-authored-by: Priyansh Rathi <[email protected]>
  • Loading branch information
Calinou and techiepriyansh committed Sep 21, 2023
1 parent fe5b1c8 commit 7831eed
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/lightmapper_rd/lm_compute.glsl
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 7831eed

Please sign in to comment.