Преглед изворни кода

Merge pull request #61910 from Calinou/lightmapgi-static-directional-fix-brightness

Fix directional LightmapGI being too dark with static lights
Rémi Verschelde пре 2 година
родитељ
комит
6094738059
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      modules/lightmapper_rd/lm_compute.glsl

+ 1 - 1
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