This repository has been archived on 2023-05-27. You can view files and clone it, but cannot push or open issues or pull requests.
api8/shaders/shadowMap.vs
2023-05-27 02:49:17 +02:00

12 lines
231 B
GLSL

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