Fix for Linear Tonemapper color space

This commit is contained in:
vvv-yeaf 2022-09-22 14:26:28 -03:00
parent b9ed4b3d04
commit 5fedd9b857

View file

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