mirror of
https://github.com/libretro/slang-shaders.git
synced 2024-11-23 08:19:54 +00: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()
|
||||
{
|
||||
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);
|
||||
float dx = ps.x;
|
||||
float dy = ps.y;
|
||||
|
Loading…
Reference in New Issue
Block a user