aboutsummaryrefslogtreecommitdiff
path: root/shaders/vertex.vert
blob: a44217b2e14245052b188bcca8b5fcdcab1cf77a (plain)
1
2
3
4
5
6
7
8
9
10
11
#version 330 core

in vec3 position;

uniform mat4 proj;
uniform mat4 view;
uniform mat4 model;

void main() {
    gl_Position = proj * view * model * vec4(position, 1.0);
}