summaryrefslogtreecommitdiff
path: root/advanced_lighting/3.1.shadow_mapping/shaders/simple_depth.vert
blob: d3adca9f4f543b5b9ee55eabf6ef570b6e2558e6 (plain)
1
2
3
4
5
6
7
8
9
10
#version 330 core
layout(location = 0) in vec3 apos;

uniform mat4 light_space_matrix;
uniform mat4 model;

void main(void)
{
    gl_Position = light_space_matrix*model*vec4(apos, 1.0);
}