Update scanline.slang

Fix rounding issues
This commit is contained in:
metallic77 2023-04-27 18:11:20 +03:00 committed by GitHub
parent c85d5765e1
commit bc1ac8ff16
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -35,7 +35,7 @@ layout(location = 1) out vec2 omega;
void main() void main()
{ {
gl_Position = global.MVP * Position; gl_Position = global.MVP * Position;
vTexCoord = TexCoord; vTexCoord = TexCoord*1.0001;
omega = vec2(pi * params.OutputSize.x, 2.0 * pi * params.SourceSize.y); omega = vec2(pi * params.OutputSize.x, 2.0 * pi * params.SourceSize.y);
} }