summaryrefslogtreecommitdiff
path: root/source/lessons/lighting/shaders/light_source.vs.glsl
blob: bf372d5ead2abf7aab8278083784f3acfb76ee03 (plain)
1
2
3
4
5
6
7
8
9
10
#version 330 core
layout(location = 0) in vec3 position;

uniform mat4 Model;
uniform mat4 View;
uniform mat4 Projection;

void main() {
    gl_Position = Projection * View * Model * vec4(position.x, position.y, position.z, 1.0);
}