From 4ee52b74bf3e8d37b2d22b6c68826d3dc59a2eed Mon Sep 17 00:00:00 2001 From: FakeShemp Date: Thu, 3 Mar 2016 15:04:10 +0100 Subject: [PATCH] Fix broken shader in. --- resources/Shaders/ForwardPlusSplatMapRGBShieldCheck.frag.glsl | 2 ++ 1 file changed, 2 insertions(+) diff --git a/resources/Shaders/ForwardPlusSplatMapRGBShieldCheck.frag.glsl b/resources/Shaders/ForwardPlusSplatMapRGBShieldCheck.frag.glsl index d61726fe..f3050714 100644 --- a/resources/Shaders/ForwardPlusSplatMapRGBShieldCheck.frag.glsl +++ b/resources/Shaders/ForwardPlusSplatMapRGBShieldCheck.frag.glsl @@ -1,6 +1,7 @@ #version 430 #define MIN_AMBIENT_LIGHT 0.3 +#define MAX_SPLITS 4 uniform mat4 M; uniform mat4 V; @@ -84,6 +85,7 @@ in VertexData{ vec2 TextureCoordinate; vec4 ExplosionColor; float ExplosionPercentageElapsed; + vec4 PositionLightSpace[MAX_SPLITS]; }Input; out vec4 sceneColor;