View Full Version : Does VAO contain only one IBO??

10-04-2013, 02:35 AM
Salam, Hey Guys,
I have 3 Array Buffers, position, normals, colors.
Can i use multiple Index buffers for each of the above array buffers, for example,

- I have one main VAO => mainVaoHandle
- VBO 1 => position
- VBO 2 => Normals
- VBO 3 => Colors , bind to mainVaoHandle

can i do this?
- separate Index buffer for position
- separate index buffer for normals
- separate index buffer for colors

using one mainVaoHandle??

carsten neumann
10-04-2013, 08:21 AM
No, and it is not a limitation of using VAOs, OpenGL's indexed drawing commands always use a single index for all active vertex attributes.

10-04-2013, 09:39 AM
thanks, :)