 
 #ifdef HAS_TARGET_TANGENT3_VEC3
 in vec3 a_target_tangent3;
+#endif
+
+#ifdef HAS_TARGET_TANGENT4_VEC3
+in vec3 a_target_tangent4;
+#endif
+
+#ifdef HAS_TARGET_TANGENT5_VEC3
+in vec3 a_target_tangent5;
+#endif
+
+#ifdef HAS_TARGET_TANGENT6_VEC3
+in vec3 a_target_tangent6;
+#endif
+
+#ifdef HAS_TARGET_TANGENT7_VEC3
+in vec3 a_target_tangent7;
 #endif
 
 #ifdef USE_MORPHING

#endif

#ifdef HAS_TARGET_POSITION5_VEC3
    pos.xyz += u_morphWeights[4] * a_target_position5;
#endif

#ifdef HAS_TARGET_POSITION6_VEC3
    pos.xyz += u_morphWeights[4] * a_target_position6;
#endif

#ifdef HAS_TARGET_POSITION7_VEC3
    pos.xyz += u_morphWeights[4] * a_target_position7;
#endif

    return pos;

    tangent += u_morphWeights[4] * a_target_tangent4;
#endif

#ifdef HAS_TARGET_TANGENT5_VEC3
    tangent += u_morphWeights[5] * a_target_tangent5;
#endif

#ifdef HAS_TARGET_TANGENT6_VEC3
    tangent += u_morphWeights[6] * a_target_tangent6;
#endif

#ifdef HAS_TARGET_TANGENT7_VEC3
    tangent += u_morphWeights[7] * a_target_tangent7;
#endif

    return tangent;
}

