MVPs are only needed for directional shadows and not for point light shadows (forgot one thing.

This commit is contained in:
Faerbit 2014-12-15 13:23:35 +01:00
parent 0979c51ed0
commit 5640bf137e

View File

@ -2,7 +2,7 @@
uniform mat4 modelMatrix;
uniform mat4 modelViewProjectionMatrix;
uniform mat4 shadowMVPs[35];
uniform mat4 shadowMVPs[5];
in vec3 aPosition;
in vec3 aNormal;