diff --git a/data/shaders/sunlightshadow.frag b/data/shaders/sunlightshadow.frag index 84407184f..92df51b09 100644 --- a/data/shaders/sunlightshadow.frag +++ b/data/shaders/sunlightshadow.frag @@ -15,6 +15,7 @@ uniform mat4 ViewMatrix; uniform mat4 ProjectionMatrix; uniform mat4 InverseViewMatrix; uniform mat4 InverseProjectionMatrix; +uniform mat4 ShadowViewProjMatrixes[4]; #else layout (std140) uniform MatrixesData { diff --git a/data/shaders/sunlightshadowdebug.frag b/data/shaders/sunlightshadowdebug.frag index 471620644..5d59dfa3a 100644 --- a/data/shaders/sunlightshadowdebug.frag +++ b/data/shaders/sunlightshadowdebug.frag @@ -10,6 +10,7 @@ uniform mat4 ViewMatrix; uniform mat4 ProjectionMatrix; uniform mat4 InverseViewMatrix; uniform mat4 InverseProjectionMatrix; +uniform mat4 ShadowViewProjMatrixes[4]; #else layout (std140) uniform MatrixesData {