I was wondering if there was a way to repeat a texture multiple times over terrain using opengl VBO. I can do it in immediate mode, but i'm now moving on to vertex buffers and i have no clue how to do it. My vertex struct is simple:
struct Vertex
{
float v1, v2, v3;
float n1, n2, n3;
float u, v;
}
I'm also using an index buffer and just setting up the pointers with glTexCoordPointer etc.
Thanks,
- rocklobster
EDIT: I was thinking maybe i should repeat the texture on the model before exporting it in?