couch/shaders/flat.vert
2021-01-13 13:17:31 -06:00

12 lines
196 B
GLSL

#version 330 core
layout (location = 0) in vec3 pos;
uniform mat4 MODEL;
uniform mat4 VIEW;
uniform mat4 PROJECTION;
void main() {
gl_Position = PROJECTION * VIEW * MODEL * vec4(pos, 1.0);
}