Przeglądaj źródła

conform gl to dx

AzaezelX 2 lat temu
rodzic
commit
f419227d30

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

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