Преглед изворни кода

Fixed the duplicate definition errors in normal.vert
...I left them commented out for reference and because
maybe this needs some rethinking.

pspeed42 пре 11 година
родитељ
комит
61cbf16ebc
1 измењених фајлова са 3 додато и 2 уклоњено
  1. 3 2
      jme3-effects/src/main/resources/Common/MatDefs/SSAO/normal.vert

+ 3 - 2
jme3-effects/src/main/resources/Common/MatDefs/SSAO/normal.vert

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