Lighting and Shadows :

- removed the const keyword for the poisson disk array declaration in the shader (attempt to fix the shader on mac)

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9754 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
3.0
rem..om 13 years ago
parent 5f88d137a8
commit 6c2dcc472d
  1. 2
      engine/src/core-data/Common/MatDefs/Shadow/PostShadowPSSM.frag
  2. 2
      engine/src/core-data/Common/MatDefs/Shadow/PostShadowPSSM15.frag

@ -119,7 +119,7 @@ float Shadow_DoPCF(in SHADOWMAP tex, in vec4 projCoord){
//12 tap poisson disk
const vec2 poissonDisk[12] =vec2[12]( vec2(-0.1711046, -0.425016),
vec2 poissonDisk[12] =vec2[12]( vec2(-0.1711046, -0.425016),
vec2(-0.7829809, 0.2162201),
vec2(-0.2380269, -0.8835521),
vec2(0.4198045, 0.1687819),

@ -125,7 +125,7 @@ float Shadow_DoPCF(in SHADOWMAP tex, in vec4 projCoord){
//12 tap poisson disk
const vec2 poissonDisk[12] =vec2[12]( vec2(-0.1711046, -0.425016),
vec2 poissonDisk[12] =vec2[12]( vec2(-0.1711046, -0.425016),
vec2(-0.7829809, 0.2162201),
vec2(-0.2380269, -0.8835521),
vec2(0.4198045, 0.1687819),

Loading…
Cancel
Save