I'm making a Minecraft style game and currently storing 36 vertices and texture coordinates per cube. Could I make an EBO for only the position and leave the texture coordinates as they are?
OK i think thsi is how i will do it.
I would have an array of 24 vertices(3*GLfloat) and 24 texture coordinates(2*GLfloat) for the corners
then i would have an EBO pointing to the corners with 36 indices
So memory total = 24*3*4 + 24*2*4 + 36*4 = 624 bytes
instead of
36*3*4 + 36*2*4 = 720 bytes