]> git.tdb.fi Git - libs/gl.git/blobdiff - source/core/vertexformat.h
Include only tangent in mesh data and calculate binormal on the fly
[libs/gl.git] / source / core / vertexformat.h
index 93794c353cafcb24027253ac2491cf59ef6e731b..c7a2fcf166ef28d468289891db3ca9a82ab31e9b 100644 (file)
@@ -26,13 +26,19 @@ enum VertexAttribute
        COLOR4_FLOAT,
        NORMAL3 = 18,
        TANGENT3 = 26,
-       BINORMAL3 = 34,
-       // Attributes 5 and 6 reserved for vertex groups and weights
-       TEXCOORD1 = 56,
+       GROUP1 = 32,
+       GROUP2,
+       GROUP3,
+       GROUP4,
+       WEIGHT1 = 40,
+       WEIGHT2,
+       WEIGHT3,
+       WEIGHT4,
+       TEXCOORD1 = 48,
        TEXCOORD2,
        TEXCOORD3,
        TEXCOORD4,
-       GENERIC1 = 88,
+       GENERIC1 = 80,
        GENERIC2,
        GENERIC3,
        GENERIC4,