XNA - Textures and Indices: Shared Vertices
Quote:Original post by Synthesizer<nitpick>
Guys, I succeeded in doing what I was needing :)
In a few words: I didn't use index buffer, so no shared vertices. I think that's the only way if you need to create a texturized cube.
Now I'll go to normals & lighting...!
Thanks for your help, my problem was solved.
Each wall has to be unique, but each wall is a quad, and is made from two triangles - so two of 6 the vertices required to draw 2 triangles can be shared - so an index buffer would be a saving.
</nitpick>
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement