Files
kitty/old-shaders/trail.vert.glsl
2026-07-03 09:14:58 +00:00

16 lines
241 B
GLSL

#version 140
#line 0 7893001
uniform vec4 x_coords;
uniform vec4 y_coords;
out vec2 frag_pos;
void main() {
vec2 pos = vec2(x_coords[gl_VertexID], y_coords[gl_VertexID]);
gl_Position = vec4(pos, 1.0, 1.0);
frag_pos = pos;
}