Index Buffer Object and UV Coordinates don't play nice
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: This generates the 25 main vertices. For x As Single = -1 To 1 Step 0.5F For y As Single = 1 To -1 Step -0.5F Dim pt1 As New Vector3(x, y, 0) tFloats.Add(pt1) Next Next This is the indices, which makes up 16 tiles made of 32 triangles, I actually generate them but this is the first row: Dim inasd() As Integer = { 0, 2, 10, 2, 10, 12, 10, 12, 20, 12, 20, 22, 20, 22, 30, 22, 30, 32 } Now I'm trying to apply a texture to every single triangle, 1 texture per tile. 16 different textures. Now my problem lies within the fact that when I use GL