From bc1ac8ff16796ff4c9c1f960c48592de6d5996a3 Mon Sep 17 00:00:00 2001 From: metallic77 <43163462+metallic77@users.noreply.github.com> Date: Thu, 27 Apr 2023 18:11:20 +0300 Subject: [PATCH] Update scanline.slang Fix rounding issues --- scanlines/shaders/scanline.slang | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scanlines/shaders/scanline.slang b/scanlines/shaders/scanline.slang index a0d5eb6..a0fbf4f 100644 --- a/scanlines/shaders/scanline.slang +++ b/scanlines/shaders/scanline.slang @@ -35,7 +35,7 @@ layout(location = 1) out vec2 omega; void main() { gl_Position = global.MVP * Position; - vTexCoord = TexCoord; + vTexCoord = TexCoord*1.0001; omega = vec2(pi * params.OutputSize.x, 2.0 * pi * params.SourceSize.y); }