From 5e62347d111f56299f9585ce12fb6a40cca8741f Mon Sep 17 00:00:00 2001 From: vlj Date: Sat, 3 May 2014 17:36:27 +0200 Subject: [PATCH] Fix attempt for #1308 --- data/shaders/sunlightshadow.frag | 1 + data/shaders/sunlightshadowdebug.frag | 1 + 2 files changed, 2 insertions(+) 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 {