瀏覽代碼

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;