mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-01-20 04:34:48 +00:00
Merge pull request #903 from vvv-yeaf/development
Fix for Linear Tonemapper color space
This commit is contained in:
commit
8895dc6549
|
|
@ -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