   @TEXCOORD
   attribute vec2 texCoord;
   #endif
+
+  #ifdef ATTRIBUTE_NORMAL_ENABLED
+  @NORMAL
+  attribute vec3 normal;
+  #endif
+
   @MODELVIEWPROJECTION
   uniform mat4 _matPVM;
 


 varying vec2 vTexCoord;
 varying vec3 vPosition;
#ifdef VS
  @POSITION
  attribute vec3 position;

  {
    gl_Position = _matPVM * vec4(position,1.0);
    vPosition = (_matM * vec4(position,1.0)).xyz;
    #ifdef ATTRIBUTE_NORMAL_ENABLED
    vNormal = (_matM * vec4(normal,1)).xyz;
    #endif
    #ifdef ATTRIBUTE_TEXCOORD_ENABLED
    vTexCoord = texCoord;
    #endif
