From f419227d30b40baedc49193b72c4cb890e52fa34 Mon Sep 17 00:00:00 2001 From: AzaezelX Date: Thu, 22 Sep 2022 13:04:42 -0500 Subject: [PATCH] conform gl to dx --- .../BaseGame/game/core/postFX/scripts/HDR/HDR_finalPass.glsl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Templates/BaseGame/game/core/postFX/scripts/HDR/HDR_finalPass.glsl b/Templates/BaseGame/game/core/postFX/scripts/HDR/HDR_finalPass.glsl index 43e8a2f2e2..9e8b665971 100644 --- a/Templates/BaseGame/game/core/postFX/scripts/HDR/HDR_finalPass.glsl +++ b/Templates/BaseGame/game/core/postFX/scripts/HDR/HDR_finalPass.glsl @@ -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;