I am trying to draw a textured cube using just 8 vertices and one DrawIndexedPrimitives
call. Is this even possible?
I am having problems with the UV co-ordinates. I am finding it impossible to come up with suitable UV values which will work for all faces of the cube.
Take the following numbering as an example:
UV is set to (0, 0) for vertex A. For all vertices diagonally opposite to A (on all three faces sharing A as a vertex), I am setting UV to (1, 1). Now the three faces which do not have A as a vertex end up having two vertices each which have a UV value of (1, 1). It is my understanding that this should not be the case.
What then is the solution?