conform gl to dx

This commit is contained in:
AzaezelX 2022-09-22 13:04:42 -05:00
parent 8895dc6549
commit f419227d30

View file

@ -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;