Plannnninnnngggg

This commit is contained in:
Ben
2019-10-04 17:44:29 +01:00
parent b315cc8951
commit 9e184d15ce
4 changed files with 87 additions and 104 deletions

View File

@@ -1,7 +0,0 @@
#version 330
out float fragdepth;
void main(){
gl_FragDepth = gl_FragCoord.z;
}

View File

@@ -1,10 +0,0 @@
#version 330
in vec3 vertPos;
uniform mat4 lightSpaceMatrix;
uniform mat4 model;
void main() {
gl_Position = lightSpaceMatrix * model * vec4(vertPos, 1.0);
}