Files
Examples/OpenGL/playground/resources/shaders/simple.vert
2019-02-17 16:34:56 +00:00

12 lines
170 B
GLSL

#version 330
in vec3 position;
uniform mat4 model;
uniform mat4 view;
uniform mat4 proj;
void main() {
gl_Position = proj * view * model * vec4(position, 1.0);
}