mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-07-13 15:44:36 +00:00
conform gl to dx
This commit is contained in:
parent
8895dc6549
commit
f419227d30
1 changed files with 1 additions and 1 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue