From f4ffaa1e3cc0cb7dfcde24aa5fd2d58cfc7c3509 Mon Sep 17 00:00:00 2001 From: Stenzek Date: Sun, 3 Mar 2024 13:51:07 +1000 Subject: [PATCH] Data: Fix crt-lottes.glsl for D3D renders --- data/resources/shaders/crt-lottes.glsl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/data/resources/shaders/crt-lottes.glsl b/data/resources/shaders/crt-lottes.glsl index ed9494651..653ee1865 100644 --- a/data/resources/shaders/crt-lottes.glsl +++ b/data/resources/shaders/crt-lottes.glsl @@ -164,7 +164,7 @@ float3 ToSrgb(float3 c) float3 Fetch(float2 pos,float2 off){ pos=(floor(pos*GetResolution()+off)+float2(0.5,0.5))*GetInvResolution(); #ifdef SIMPLE_LINEAR_GAMMA - return ToLinear(GetOption(brightBoost) * pow(SampleLocation(pos.xy).rgb, float3(2.2))); + return ToLinear(GetOption(brightBoost) * pow(SampleLocation(pos.xy).rgb, float3(2.2, 2.2, 2.2))); #else return ToLinear(GetOption(brightBoost) * SampleLocation(pos.xy).rgb); #endif