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:
parent
fe5b1c8d49
commit
7831eedf1c
@ -415,7 +415,7 @@ void main() {
|
|||||||
);
|
);
|
||||||
|
|
||||||
for (uint j = 0; j < 4; j++) {
|
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
|
#endif
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user