newpixie: Don't flip geometry coordinates, flip texcoords.

This commit is contained in:
BearOso 2023-01-29 17:18:48 -06:00
parent 385e1b0019
commit 4d97229d22

View file

@ -81,9 +81,8 @@ layout(location = 0) out vec2 vTexCoord;
void main()
{
vec4 modpos = vec4(Position.x, 1.-Position.y, Position.z, Position.w);
gl_Position = global.MVP * modpos;
vTexCoord = TexCoord;
gl_Position = global.MVP * Position;
vTexCoord = vec2(TexCoord.x, 1.0 - TexCoord.y);
}
#pragma stage fragment