* PostShadowPSSM: Made texSize const, to fix shader error

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9284 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
3.0
Sha..om 13 years ago
parent 904d835742
commit 9aacd96926
  1. 2
      engine/src/core-data/Common/MatDefs/Shadow/PostShadowPSSM.frag

@ -44,7 +44,7 @@ varying vec4 projCoord3;
varying float shadowPosition; varying float shadowPosition;
float texSize = 1024.0; const float texSize = 1024.0;
const float pixSize = 1.0 / texSize; const float pixSize = 1.0 / texSize;
const vec2 pixSize2 = vec2(pixSize); const vec2 pixSize2 = vec2(pixSize);

Loading…
Cancel
Save