I am trying to make thousands of instanced cubes, each with a unique texture on each side.
Am I going to have to split each cube into 6 instanced faces, or can I unwrap it in such a way the the texture atlas coordinates will come out right?
My idea is have each cube unwrapped into a 2 tile by 3 tile area as such:
Top Bottom Front Back Left Right
Will the unwrap make it into the DrawInstancedPrimitives call?
Next, some cubes will have different textures than others. I was thinking about handling it with an atlas. One 2x3 texture in one slot, and another texture in another, forming a multi-texture image.
Am I on the right track here?