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

13 lines
231 B
Text
Raw Normal View History

2023-05-27 04:22:31 +02:00
#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);
}