diff -r febf3dc10011 -r 0d94fd280c6e shader/sprite_vtx.glsl --- a/shader/sprite_vtx.glsl Tue Apr 29 21:51:29 2025 +0200 +++ b/shader/sprite_vtx.glsl Thu May 01 15:26:01 2025 +0200 @@ -7,12 +7,9 @@ uniform mat4 projection; uniform mat4 view; uniform mat4 model; -uniform float depth; void main(void) { - vec4 pos = projection*view*model*vec4(position.x, position.y, 0, 1.0); - // apply depth - pos.z = depth / -1024.0; + vec4 pos = projection*view*model*vec4(position.xy, 0.0, 1.0); gl_Position = pos; uvcoord = position; texcoord = vec2(model[0].x, model[1].y)*position;