Original Post
Hi, I want to move my application to VERTEX BUFFER. Currenty I am using the following layout: A "Face", which has a Vertex[] and a Texture2D. A "Wall", which is a cube: 6 faces (so 6 textures). A "Room" which is made of 6 walls. So a Room has 36 different textures so u can see it from inside & from outside. I loop through all the faces, set the "xTexture" Effect Parameter corresponding to each Face and draw the Vertices of each Face. But this seems to be slow, so i thought of plotting evrth together once with the Vertex Buffer. Somehow I put aaall the vertices in an array & set the VertexBuffer. But the problem is that there may be different textures per surface & I CANNOT set one xTexture for all. I am not going to, I repeat: I AM NOT GOING TO use one big texture containing all the different images. So, is there any way I can solve this problem? Please, sorry me for my mood, but I've already wasted 2 months with Index Buffer (I am not using it now) & now again I face similar problems with Buffers & Textures. Thanks a lot