Fixed the duplicate definition errors in normal.vert

...I left them commented out for reference and because
maybe this needs some rethinking.
This commit is contained in:
pspeed42 2014-07-10 03:57:00 -04:00
parent cce7b0f6de
commit 61cbf16ebc

View File

@ -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;