Преглед на файлове

Merge pull request #904 from Azaezel/glParity

conform gl to dx
Brian Roberts преди 3 години
родител
ревизия
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;