Optimum ordering for packed vertex arrays on iPhone
- by Pestilence
Is there an optimum packing format for vertex arrays on the iPhone hardware? My textured (triangle) arrays are ordered:
Vertex (x, y, z)
Vertex Normal (x, y, z)
Texture Coordinates (u, v)
This is the way I've always done it. Should the UVs come before the normals? I'm not sure if it matters. I'd assume that the texturing & lighting units would have a preference, but I can't find anything about it. I certainly can't detect a difference.