Fixed the duplicate definition errors in normal.vert

...I left them commented out for reference and because
maybe this needs some rethinking.
experimental
pspeed42 11 years ago
parent cce7b0f6de
commit 61cbf16ebc
  1. 5
      jme3-effects/src/main/resources/Common/MatDefs/SSAO/normal.vert

@ -1,7 +1,8 @@
#import "Common/ShaderLib/Instancing.glsllib" #import "Common/ShaderLib/Instancing.glsllib"
#import "Common/ShaderLib/Skinning.glsllib" #import "Common/ShaderLib/Skinning.glsllib"
uniform mat4 g_WorldViewProjectionMatrix; // These are included in the above now
uniform mat3 g_NormalMatrix; //uniform mat4 g_WorldViewProjectionMatrix;
//uniform mat3 g_NormalMatrix;
attribute vec3 inPosition; attribute vec3 inPosition;
attribute vec3 inNormal; attribute vec3 inNormal;

Loading…
Cancel
Save