Merge pull request #904 from Azaezel/glParity

conform gl to dx
This commit is contained in:
Brian Roberts 2022-09-22 13:05:09 -05:00 committed by GitHub
commit aef26bda3e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

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