summaryrefslogtreecommitdiff
path: root/shaders/vertex.glsl
blob: 9ae73dc3db45139cc85b2e640a8bcb777dffcf1c (plain) (blame)
1
2
3
4
5
6
7
8
9
#version 410 core

layout(location=0) in vec3 pos;
uniform mat4 model;
uniform mat4 view;
uniform mat4 perspective;
void main() {
  gl_Position = perspective*view*model*vec4(pos, 1.0);
};