浏览代码

Merge pull request #904 from Azaezel/glParity

conform gl to dx
Brian Roberts 2 年之前
父节点
当前提交
aef26bda3e
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      Templates/BaseGame/game/core/postFX/scripts/HDR/HDR_finalPass.glsl

+ 1 - 1
Templates/BaseGame/game/core/postFX/scripts/HDR/HDR_finalPass.glsl

@@ -87,7 +87,7 @@ vec3 Tonemap(vec3 x)
    //Linear Tonemap  
    else if (g_fTonemapMode == 5.0)
    {  
-      x = TO_Linear(x);  	   
+      x = toLinear(TO_Linear(toGamma(x)));    	   
    }
         
    return x;