mirror of
https://github.com/italicsjenga/slang-shaders.git
synced 2024-11-23 00:01:31 +11:00
Update scanline.slang
Fix rounding issues
This commit is contained in:
parent
c85d5765e1
commit
bc1ac8ff16
|
@ -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);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue