Fix gfmdl vertex colors
This commit is contained in:
parent
6bc40a94a7
commit
5fe45706ea
@ -325,7 +325,7 @@ namespace FirstPlugin
|
|||||||
if (Buffer.BoneIndex.Count > 0)
|
if (Buffer.BoneIndex.Count > 0)
|
||||||
vertex.boneIds = new List<int>(Buffer.BoneIndex[v]);
|
vertex.boneIds = new List<int>(Buffer.BoneIndex[v]);
|
||||||
if (Buffer.Colors1.Count > 0)
|
if (Buffer.Colors1.Count > 0)
|
||||||
vertex.col = Buffer.Colors1[v];
|
vertex.col = Buffer.Colors1[v] / 255f;
|
||||||
if (Buffer.Binormals.Count > 0)
|
if (Buffer.Binormals.Count > 0)
|
||||||
vertex.bitan = Buffer.Binormals[v];
|
vertex.bitan = Buffer.Binormals[v];
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user