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>
This commit is contained in:
Hugo Locurcio 2022-06-10 19:37:48 +02:00
parent fe5b1c8d49
commit 7831eedf1c
No known key found for this signature in database
GPG Key ID: 39E8F8BE30B0A49C
1 changed files with 1 additions and 1 deletions

View File

@ -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