1
0
mirror of https://github.com/XProger/OpenLara.git synced 2025-08-07 13:46:45 +02:00

#138 fix triangular textures

This commit is contained in:
XProger
2018-11-12 05:48:56 +03:00
parent 81366c5f4b
commit 34ab88f18b

View File

@@ -1032,7 +1032,7 @@ struct MeshBuilder {
swap(vertices[vCount + 2].texCoord, vertices[vCount + 1].texCoord);
}
if (flip == 12) // flip vertical
if (flip == 8 || flip == 12) // flip vertical
swap(vertices[vCount + 0].texCoord, vertices[vCount + 2].texCoord);
} else {