shader/sprite_vtx.glsl

changeset 135
062703d3f5cc
parent 115
e5f8c99b0987
child 137
f8e6e0ae61a8
--- a/shader/sprite_vtx.glsl	Sun Jun 01 14:33:58 2025 +0200
+++ b/shader/sprite_vtx.glsl	Sun Jun 01 14:53:59 2025 +0200
@@ -2,7 +2,6 @@
 
 layout(location = 0) in vec2 in_pos;
 layout(location = 1) in vec2 in_uv;
-out vec2 texcoord;
 out vec2 uvcoord;
 
 uniform mat4 projection;
@@ -13,6 +12,4 @@
     vec4 pos = projection*view*model*vec4(in_pos.xy, 0.0, 1.0);
     gl_Position = pos;
     uvcoord = in_uv;
-    // TODO: we don't need that in the future
-    texcoord = vec2(model[0].x, model[1].y)*in_pos;
 }

mercurial