couch/shaders/flat.vert

12 lines
196 B
GLSL
Raw Normal View History

2021-01-13 10:42:57 -06:00
#version 330 core
layout (location = 0) in vec3 pos;
2021-01-13 13:17:31 -06:00
uniform mat4 MODEL;
uniform mat4 VIEW;
uniform mat4 PROJECTION;
2021-01-13 10:42:57 -06:00
void main() {
2021-01-13 13:17:31 -06:00
gl_Position = PROJECTION * VIEW * MODEL * vec4(pos, 1.0);
2021-01-13 10:42:57 -06:00
}