Original Post
Hello. In case of an index buffer in DirectX 9. How do you make square (2 polygons,6 rows in the index) use a different texture? I have tried to simply draw the index 2 primitive at a time and use offset, but it does not work because an index can come on row after and point back to the vertex from last row, so I must keep locking a large amount of vertices and not only 4 at a time. What I am trying to achieve is texturing like in tiled maps but I do not want to add more and more vertices. Warcraft 3 Landscape's texturing for example. I have heard of texture splatting but I am not sure if it will work here, as far as I heard it only works between two textures and I need to apply the alpha to the indices differently, which brings me back to the same problem I think, unless I am missing something.