Hi you all out there,
I´m sitting over a problem that will probably be quite easy for you advanced coders. I´m using glDrawArrays and I´ve got a buffer that holds the texture coordinates and the vertices. All this does is drawing a cube on my screen. Everything works fine, but now I wanted to attach multiple textures to the cube, so the left side can have an other texture than on the right side, for example. Since I put all vertices and texture coordinates in one single buffer I wonder if there´s the possibility of using multiple texture with only one call to glDrawArrays. Is it possible to put texture ids into that buffer, too?
Thank you for any help,