mirror of
https://github.com/italicsjenga/slang-shaders.git
synced 2024-11-25 17:01:31 +11:00
texcoord rounding change to fix some artifacts
This commit is contained in:
parent
b953ba4f07
commit
67682d470a
|
@ -117,7 +117,7 @@ layout(location = 2) out float scale_factor;
|
||||||
void main()
|
void main()
|
||||||
{
|
{
|
||||||
gl_Position = global.MVP * Position;
|
gl_Position = global.MVP * Position;
|
||||||
vTexCoord = TexCoord * vec2(1.0004, 0.9995);
|
vTexCoord = TexCoord * 1.0001;
|
||||||
float2 ps = float2(1.0/params.REFSize.x, 1.0/params.REFSize.y);
|
float2 ps = float2(1.0/params.REFSize.x, 1.0/params.REFSize.y);
|
||||||
float dx = ps.x;
|
float dx = ps.x;
|
||||||
float dy = ps.y;
|
float dy = ps.y;
|
||||||
|
|
Loading…
Reference in a new issue