texcoord rounding change to fix some artifacts

This commit is contained in:
hizzlekizzle 2018-04-06 13:44:11 -05:00 committed by GitHub
parent b953ba4f07
commit 67682d470a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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;