Merge pull request #903 from vvv-yeaf/development

Fix for Linear Tonemapper color space
This commit is contained in:
Brian Roberts 2022-09-22 12:58:30 -05:00 committed by GitHub
commit 8895dc6549
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -82,7 +82,7 @@ float3 Tonemap(float3 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;