MVPs are only needed for directional shadows and not for point light shadows (forgot one thing.
This commit is contained in:
parent
0979c51ed0
commit
5640bf137e
@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
uniform mat4 modelMatrix;
|
uniform mat4 modelMatrix;
|
||||||
uniform mat4 modelViewProjectionMatrix;
|
uniform mat4 modelViewProjectionMatrix;
|
||||||
uniform mat4 shadowMVPs[35];
|
uniform mat4 shadowMVPs[5];
|
||||||
|
|
||||||
in vec3 aPosition;
|
in vec3 aPosition;
|
||||||
in vec3 aNormal;
|
in vec3 aNormal;
|
||||||
|
Loading…
Reference in New Issue
Block a user