Files
SMH-Engine/resources/shaders/shadowmap.vert
Benjamin Kyd f88a89cd1a initial commit
2019-02-20 20:56:32 +00:00

11 lines
165 B
GLSL

#version 330
in vec3 vertPos;
uniform mat4 lightSpaceMatrix;
uniform mat4 model;
void main() {
gl_Position = lightSpaceMatrix * model * vec4(vertPos, 1.0);
}