GFBMDL : Disable automatic transforms for now

This commit is contained in:
KillzXGaming 2019-12-11 20:18:51 -05:00
parent 5da4e421d7
commit 5aca73d1bc

View file

@ -648,9 +648,13 @@ namespace FirstPlugin
if (diffuse != null)
transform = diffuse.Transform;
mesh.vertices[faces[v]].uv0 += transform.Translate * transform.Scale;
mesh.vertices[faces[v + 1]].uv0 += transform.Translate * transform.Scale;
mesh.vertices[faces[v + 2]].uv0 += transform.Translate * transform.Scale;
/* mesh.vertices[faces[v]].uv0 *= transform.Scale;
mesh.vertices[faces[v + 1]].uv0 *= transform.Scale;
mesh.vertices[faces[v + 2]].uv0 *= transform.Scale;
mesh.vertices[faces[v]].uv0 += transform.Translate;
mesh.vertices[faces[v + 1]].uv0 += transform.Translate;
mesh.vertices[faces[v + 2]].uv0 += transform.Translate;*/
}
}
}