1
0
mirror of synced 2024-11-13 18:50:50 +01:00

Fix gfmdl vertex colors

This commit is contained in:
KillzXGaming 2019-11-11 17:45:15 -05:00
parent 6bc40a94a7
commit 5fe45706ea

View File

@ -325,7 +325,7 @@ namespace FirstPlugin
if (Buffer.BoneIndex.Count > 0)
vertex.boneIds = new List<int>(Buffer.BoneIndex[v]);
if (Buffer.Colors1.Count > 0)
vertex.col = Buffer.Colors1[v];
vertex.col = Buffer.Colors1[v] / 255f;
if (Buffer.Binormals.Count > 0)
vertex.bitan = Buffer.Binormals[v];