mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-01-19 20:24:49 +00:00
Fix for Linear Tonemapper color space
This commit is contained in:
parent
b9ed4b3d04
commit
5fedd9b857
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Reference in a new issue