Merge pull request #407 from metallic77/master

Update bilinear-adjustable.slang
This commit is contained in:
hizzlekizzle 2023-04-27 16:29:50 -05:00 committed by GitHub
commit 29e7cdab41
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View file

@ -38,7 +38,7 @@ layout(location = 0) out vec2 vTexCoord;
void main() void main()
{ {
gl_Position = global.MVP * Position; gl_Position = global.MVP * Position;
vTexCoord = TexCoord; vTexCoord = TexCoord*1.0001;
} }

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);
} }