Element Buffer Object confusion.
Hey there, so I have been searching a while on the great interwebs.
Yet I haven't found my solution.
The problem is that I have three arrays of data, a buffer of vertices, a buffer of normals and buffer of tex coords.
I also have a list for indexing each buffer.
The index list looks like this
0 1 4 5 9 1
Where the first 0 represents the vertex, the first 1 represents the normal and the first 4 represents the tex coord.
So my question becomes how can I implement something like this with a IBO ?
See this. Or this on the Wiki.
Short answer: you don't.
Thank you for the quick response.
Your answer was what I feared though.