Files
PBR-Demo/assets/shaders/shadow_vertex.glsl
T
2024-08-22 14:06:11 +02:00

11 lines
189 B
GLSL

#version 330 core
layout (location = 0) in vec3 aPos;
uniform mat4 light_space_matrix;
uniform mat4 model;
void main()
{
gl_Position = light_space_matrix * model * vec4(aPos, 1.0);
}