So what do I mean by layered sprites?
Layered Sprites are Sprites that consist of multiple layers, e.g. you have
sprite sheets for the basic Body, the Head, Clothes, Weapons, etc.
Well now I wanted to know how you would draw this in the most efficient way; right now the idea is to use
vertex buffer objects (VBOs), but I heard that it is expensive to change the textures in a VBO...
So what would be the correct way to draw them? My idea right now would be to draw the Map tiles first (with a texture atlas), then I would draw all the basic bodys, then the heads, then clothes, and then the weapons. Would that be the best way or is there a more efficient way?
I also thought of using vertex arrays instead of VBOs, but as far as I know they are deprecated...