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:
@@ -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 {
|
||||
|
Reference in New Issue
Block a user