mirror of
https://github.com/italicsjenga/slang-shaders.git
synced 2024-11-23 00:01:31 +11:00
Merge pull request #407 from metallic77/master
Update bilinear-adjustable.slang
This commit is contained in:
commit
29e7cdab41
|
@ -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;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -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