From 5970444b9c906fcdc64db38be356df869334f80b Mon Sep 17 00:00:00 2001 From: Nehon Date: Tue, 22 Mar 2016 18:07:58 +0100 Subject: [PATCH] Fixed an issue with previous commit on shadows, in the glsl100 shader --- .../resources/Common/MatDefs/Shadow/PostShadowFilter.frag | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/jme3-core/src/main/resources/Common/MatDefs/Shadow/PostShadowFilter.frag b/jme3-core/src/main/resources/Common/MatDefs/Shadow/PostShadowFilter.frag index c7edc7951..b144dca60 100644 --- a/jme3-core/src/main/resources/Common/MatDefs/Shadow/PostShadowFilter.frag +++ b/jme3-core/src/main/resources/Common/MatDefs/Shadow/PostShadowFilter.frag @@ -25,9 +25,9 @@ uniform vec2 g_ResolutionInverse; uniform mat4 m_LightViewProjectionMatrix4; uniform mat4 m_LightViewProjectionMatrix5; #else + uniform vec3 m_LightDir; #ifndef PSSM - uniform vec3 m_LightPos; - uniform vec3 m_LightDir; + uniform vec3 m_LightPos; #endif #endif