Several Textures applied to 1 Vertex Buffer Object
Hello, I have a fairly simple question.
I'm trying to figure out whether or not I can use several different texture objects on different faces within a vertex buffer object.
I want to make a 3D-Modeling program, and I need to decide the most flexible and best way of creating geometry. So I figured I have two reasonable options:
1. Pack all of the vertices under one vertex buffer object (along with corresponding indices/normals) to render the whole model.
2. Use several vertex buffer objects (all triangles) that combine to form the model. (This is not a Triangle Strip)
I do know that it is possible to put all of the desired textures into a texture atlas, and specify texture coordinates accordingly. However, I wanted to know if it was possible to have many texture objects, each applying to different triangles, or being reused.
Thanks in advance, Nick.
Tags for this Thread