ludum_dare_37/res/shaders/vert.vs
2024-08-07 04:26:50 +00:00

14 lines
No EOL
209 B
GLSL
Executable file

# version 330
uniform mat4 pr_matrix;
uniform mat4 vw_matrix;
in vec3 verts;
in vec2 texts;
out vec2 tex;
void main() {
tex = texts;
gl_Position = pr_matrix * vw_matrix * vec4(verts, 1.0);
}