summary refs log tree commit diff
path: root/res/shaders/light_cube.vs
blob: 63a97589ebf756c0274ddf319038ac543b75adcd (plain)
1
2
3
4
5
6
7
8
9
10
11
#version 330 core

layout (location = 0) in vec3 a_pos;

uniform mat4 model;
uniform mat4 view;
uniform mat4 projection;

void main() {
  gl_Position = projection * view * model * vec4(a_pos, 1.0);
}