From ab5d7681c18d8629a8a7a10b17c6ccf650a2990b Mon Sep 17 00:00:00 2001 From: Stuart Kenny Date: Thu, 10 Feb 2022 16:33:40 +0000 Subject: [PATCH] Display 480p content at full res with interlacing off --- crt/shaders/geom-deluxe/crt-geom-deluxe.slang | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crt/shaders/geom-deluxe/crt-geom-deluxe.slang b/crt/shaders/geom-deluxe/crt-geom-deluxe.slang index d749136..6c63695 100644 --- a/crt/shaders/geom-deluxe/crt-geom-deluxe.slang +++ b/crt/shaders/geom-deluxe/crt-geom-deluxe.slang @@ -111,7 +111,7 @@ void main() TextureSize = global.SourceSize.xy; - ilfac = vec2(1.0, clamp(floor(global.SourceSize.y/200.0), 1.0, 2.0)); + ilfac = vec2(1.0, clamp(floor(global.SourceSize.y/(interlace_detect == 1.0 ? 200.0 : 1000.0)), 1.0, 2.0)); // The size of one texel, in texture-coordinates. v_one = ilfac / TextureSize.xy;