View Full Version : Base question about indexed VBO arrays
12-12-2008, 09:43 AM
If we only have the ability to use a single index array, how can both Vertices and UVs be indexed by it? Obviously sometimes a vertex would need to have multiple UVs associated with it (e.g. corner of a cube with different texture zones on each face would need three UVs).
12-13-2008, 04:11 AM
You can't have an index per attribute, only per complete vertex (all vertex attributes), so in these cases you duplicate the vertex position.
Powered by vBulletin® Version 4.2.2 Copyright © 2016 vBulletin Solutions, Inc. All rights reserved.