From acf73255534278e561f482e982203e049d9543fd Mon Sep 17 00:00:00 2001 From: Faerbit Date: Mon, 15 Dec 2014 13:23:35 +0100 Subject: [PATCH] MVPs are only needed for directional shadows and not for point light shadows (forgot one thing. --- Shader/phong.vsh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Shader/phong.vsh b/Shader/phong.vsh index d2806b9..11d9863 100644 --- a/Shader/phong.vsh +++ b/Shader/phong.vsh @@ -2,7 +2,7 @@ uniform mat4 modelMatrix; uniform mat4 modelViewProjectionMatrix; -uniform mat4 shadowMVPs[35]; +uniform mat4 shadowMVPs[5]; in vec3 aPosition; in vec3 aNormal;