浏览代码

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

Fix directional LightmapGI being too dark with static lights
Rémi Verschelde 1 年之前
父节点
当前提交
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