3D Texture Mapping (Atlas)
Posted
by
Tim Hatch
on Game Development
See other posts from Game Development
or by Tim Hatch
Published on 2012-07-10T18:52:57Z
Indexed on
2012/07/10
21:25 UTC
Read the original article
Hit count: 280
This is a pretty simple question. If I was to use multiple images in a single texture for a 3D cube, how would I go about re-using each vertex (having 8 total vs 24)?
With a single buffer of 8 vertices, I don't see how I'd properly reuse the UV values.
Any help on that? I know it's not terribly clear, but I figured it was a simple question.
The 2D method is pretty easy, the next coordinates would be the same as the first (0,0 and 0,1 respectively).
However, the above 3D version has me quite befuddled.
© Game Development or respective owner