chore(ui): flip texture horizontally

This commit is contained in:
Rekai Nyangadzayi Musuka 2023-09-05 03:47:59 -05:00
parent f0a508386f
commit 11f177afbf
1 changed files with 1 additions and 1 deletions

View File

@ -2,7 +2,7 @@
out vec2 uv; out vec2 uv;
const vec2 pos[3] = vec2[3](vec2(-1.0f, -1.0f), vec2(-1.0f, 3.0f), vec2(3.0f, -1.0f)); const vec2 pos[3] = vec2[3](vec2(-1.0f, -1.0f), vec2(-1.0f, 3.0f), vec2(3.0f, -1.0f));
const vec2 uvs[3] = vec2[3](vec2( 2.0f, 2.0f), vec2( 2.0f, 0.0f), vec2(0.0f, 2.0f)); const vec2 uvs[3] = vec2[3](vec2( 0.0f, 2.0f), vec2( 0.0f, 0.0f), vec2(2.0f, 2.0f));
void main() { void main() {
uv = uvs[gl_VertexID]; uv = uvs[gl_VertexID];