Files
SMH-Engine/legacy/resources/shaders/shadowmap.vert
2019-02-22 21:55:53 +00:00

11 lines
175 B
GLSL

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