Files
vb01/depthMap.vert
T
devZoGok 9479e3324f implemented shadows for non positional lights
fixed skybox
implemented translation and rotation
2021-10-18 19:05:52 +03:00

11 lines
157 B
GLSL

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