Fixed glitch in centre of screen when using certain aspect ratio's.

This commit is contained in:
majorpainthecactus 2022-01-07 14:19:48 +00:00
parent 94c514fe80
commit dc11427819

View file

@ -49,7 +49,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 * vec2(1.00001); // To resolve rounding issues when sampling
} }
#pragma stage fragment #pragma stage fragment