Black out high walls

This commit is contained in:
2021-03-20 13:28:39 +01:00
parent a2183151be
commit 0b1f7f50c3
4 changed files with 9 additions and 5 deletions
+1
View File
@@ -5,6 +5,7 @@ layout (triangle_strip, max_vertices = 11) out;
uniform vec2 lightPos;
uniform mat4 perpMat;
uniform mat4 worldMat;
uniform float facesToDraw;
vec2 lightPosa = ( perpMat * vec4(lightPos,0,1) ).xy;