Skip to content

Commit aef26bd

Browse files
authored
Merge pull request #904 from Azaezel/glParity
conform gl to dx
2 parents 8895dc6 + f419227 commit aef26bd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Templates/BaseGame/game/core/postFX/scripts/HDR/HDR_finalPass.glsl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ vec3 Tonemap(vec3 x)
8787
//Linear Tonemap
8888
else if (g_fTonemapMode == 5.0)
8989
{
90-
x = TO_Linear(x);
90+
x = toLinear(TO_Linear(toGamma(x)));
9191
}
9292

9393
return x;

0 commit comments

Comments
 (0)