Skip to content

Commit

Permalink
Merge pull request #904 from Azaezel/glParity
Browse files Browse the repository at this point in the history
conform gl to dx
  • Loading branch information
Azaezel committed Sep 22, 2022
2 parents 8895dc6 + f419227 commit aef26bd
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ vec3 Tonemap(vec3 x)
//Linear Tonemap
else if (g_fTonemapMode == 5.0)
{
x = TO_Linear(x);
x = toLinear(TO_Linear(toGamma(x)));
}

return x;
Expand Down

0 comments on commit aef26bd

Please sign in to comment.