* Fixed syntax error due to implicit float -> vec3 conversion in PostShadowPSSM15.frag

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9134 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
3.0
Sha..om 13 years ago
parent 06de64654e
commit 3bceee24fb
  1. 2
      engine/src/core-data/Common/MatDefs/Shadow/PostShadowPSSM15.frag

@ -84,7 +84,7 @@ float Shadow_DoBilinear_2x2(in SHADOWMAP tex, in vec4 projCoord){
ivec2 texSize = textureSize(tex, 0);
#ifdef GL_ARB_gpu_shader5
vec4 coord = vec4(projCoord.xyz / projCoord.w,0.0);
vec4 coord = vec4(projCoord.xyz / projCoord.www,0.0);
vec4 gather = SHADOWGATHER(tex, coord);
#else
vec4 gather = vec4(0.0);

Loading…
Cancel
Save