add tiny texcoord offset to avoid rounding issues

fixes #200
This commit is contained in:
hizzlekizzle 2021-10-28 19:27:23 -05:00 committed by GitHub
parent 136728053c
commit 72eb5c1547
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -23,7 +23,7 @@ layout(location = 0) out vec2 vTexCoord;
void main()
{
gl_Position = global.MVP * Position;
vTexCoord = TexCoord;
vTexCoord = TexCoord * 1.0001;
}
#pragma stage fragment