From c5bab7019cdc32b48d649f703deb2c1cbb637005 Mon Sep 17 00:00:00 2001 From: Sergio Date: Tue, 3 Sep 2024 19:48:30 +0200 Subject: [PATCH] =?UTF-8?q?Modificado=20el=20tama=C3=B1o=20de=20la=20textu?= =?UTF-8?q?ra?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- data/shaders/crtpi.glsl | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/data/shaders/crtpi.glsl b/data/shaders/crtpi.glsl index 068a6f1..a5cb4e4 100644 --- a/data/shaders/crtpi.glsl +++ b/data/shaders/crtpi.glsl @@ -97,7 +97,8 @@ void main() #if defined(CURVATURE) screenScale = vec2(1.0, 1.0); //TextureSize / InputSize; #endif - filterWidth = (768.0 / 240.0) / 3.0; + //filterWidth = (768.0 / 240.0) / 3.0; + filterWidth = (768.0 / 256.0) / 3.0; TEX0 = vec2(gl_MultiTexCoord0.x, 1.0-gl_MultiTexCoord0.y)*1.0001; gl_Position = gl_ModelViewProjectionMatrix * gl_Vertex; } @@ -146,7 +147,7 @@ float CalcScanLine(float dy) void main() { - vec2 TextureSize = vec2(320.0, 240.0); + vec2 TextureSize = vec2(320.0, 256.0); #if defined(CURVATURE) vec2 texcoord = Distort(TEX0); if (texcoord.x < 0.0)