mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-01-19 20:24:49 +00:00
commit
aef26bda3e
|
|
@ -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;
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue