in-pass-shadows: use glsllib extension

in-pass-shadows
Kirill Vainer 7 years ago
parent 5b800952f0
commit 5f66eeacb4
  1. 2
      jme3-core/src/main/resources/Common/MatDefs/Light/PBRLighting.frag
  2. 2
      jme3-core/src/main/resources/Common/MatDefs/Light/PBRLighting.vert
  3. 2
      jme3-core/src/main/resources/Common/MatDefs/Light/StaticLighting.frag
  4. 2
      jme3-core/src/main/resources/Common/MatDefs/Light/StaticLighting.vert
  5. 0
      jme3-core/src/main/resources/Common/ShaderLib/InPassShadows.glsllib

@ -2,7 +2,7 @@
#import "Common/ShaderLib/PBR.glsllib"
#import "Common/ShaderLib/Parallax.glsllib"
#import "Common/ShaderLib/Lighting.glsllib"
#import "Common/ShaderLib/InPassShadows.glsl"
#import "Common/ShaderLib/InPassShadows.glsllib"
varying vec2 texCoord;
#ifdef SEPARATE_TEXCOORD

@ -1,7 +1,7 @@
#import "Common/ShaderLib/GLSLCompat.glsllib"
#import "Common/ShaderLib/Instancing.glsllib"
#import "Common/ShaderLib/Skinning.glsllib"
#import "Common/ShaderLib/InPassShadows.glsl"
#import "Common/ShaderLib/InPassShadows.glsllib"
uniform vec4 m_BaseColor;

@ -1,6 +1,6 @@
#import "Common/ShaderLib/GLSLCompat.glsllib"
#import "Common/ShaderLib/Lighting.glsllib"
#import "Common/ShaderLib/InPassShadows.glsl"
#import "Common/ShaderLib/InPassShadows.glsllib"
#import "Common/ShaderLib/PBR.glsllib"
#ifndef NUM_DIR_LIGHTS

@ -1,7 +1,7 @@
#import "Common/ShaderLib/GLSLCompat.glsllib"
#import "Common/ShaderLib/Skinning.glsllib"
#import "Common/ShaderLib/Instancing.glsllib"
#import "Common/ShaderLib/InPassShadows.glsl"
#import "Common/ShaderLib/InPassShadows.glsllib"
attribute vec3 inPosition;
attribute vec3 inNormal;

Loading…
Cancel
Save