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 7dae5a5e8c
commit acf7325553

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;