bettola/assets/shaders/simple.vert
Ritchie Cunningham dc4dd650a4 feat(renderer) Render player quad with projection
this allows us to render a player controlled entity on screen using a 2D
projection
2025-09-12 22:46:17 +01:00

11 lines
172 B
GLSL

#version 330 core
layout (location = 0) in vec3 aPos;
uniform mat4 projection;
uniform mat4 model;
void main() {
gl_Position = projection * model * vec4(aPos, 1.0);
}