Support shadow maps in GLES

in-pass-shadows
Kirill Vainer 7 years ago
parent bc50b09bf4
commit 16e472678a
  1. 1
      jme3-core/src/main/resources/Common/ShaderLib/GLSLCompat.glsllib

@ -25,6 +25,7 @@ out vec4 outFragColor;
# define texture3D texture # define texture3D texture
# define textureCube texture # define textureCube texture
# define texture2DLod textureLod # define texture2DLod textureLod
# define shadow2D(a,b) vec4(texture(a,b))
# define textureCubeLod textureLod # define textureCubeLod textureLod
# if defined VERTEX_SHADER # if defined VERTEX_SHADER
# define varying out # define varying out

Loading…
Cancel
Save