diff --git a/Importer.cs b/Importer.cs index 1b651bd..883b143 100644 --- a/Importer.cs +++ b/Importer.cs @@ -40,6 +40,12 @@ namespace Smuggler var normal = normalAccessor[i]; normals[i] = -new Vector3(normal.X, normal.Z, normal.Y); } + + for (int i = 0; i < texcoords.Length; i++) + { + var texcoord = texcoordAccessor[i]; + texcoords[i] = new Vector2(texcoord.X, texcoord.Y); + } foreach (var (a, b, c) in primitive.GetTriangleIndices()) {