2
0
Эх сурвалжийг харах

Fixed an issue with previous commit on shadows, in the glsl100 shader

Nehon 9 жил өмнө
parent
commit
5970444b9c

+ 2 - 2
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