diff --git a/crt/shaders/fake-crt-geom-potato.slang b/crt/shaders/fake-crt-geom-potato.slang index bd2502b4..df06618c 100644 --- a/crt/shaders/fake-crt-geom-potato.slang +++ b/crt/shaders/fake-crt-geom-potato.slang @@ -64,11 +64,13 @@ vec2 corn = min(pos, 1.0-pos); // This is used to mask the rounded float y = pos.y*SourceSize.y; vec2 dx = vec2(SourceSize.z*0.75,0.0); +vec2 dy = vec2(0.0,SourceSize.w*0.5); + // precalculated kaizer window filter vec3 res = vec3(0.0); -res += texture(Source,pos -dx).rgb*-0.1082; -res += texture(Source,pos ).rgb*0.5155; -res /= 0.4073; +res += texture(Source,pos -dx).rgb*-0.26565; +res += texture(Source,pos -dy).rgb*-0.26565; +res += texture(Source,pos ).rgb*1.5313; vec3 clean = res;