Add morph handling for normal/tangent

This commit is contained in:
ackwell 2024-01-05 20:13:39 +11:00
parent acaa49fec5
commit 6641f5425b
2 changed files with 36 additions and 6 deletions

View file

@ -523,8 +523,8 @@ public sealed partial class ModelManager : SingleTaskQueue, IDisposable
VertexAttribute.Position(accessors, morphAccessors),
VertexAttribute.BlendWeight(accessors),
VertexAttribute.BlendIndex(accessors),
VertexAttribute.Normal(accessors),
VertexAttribute.Tangent1(accessors),
VertexAttribute.Normal(accessors, morphAccessors),
VertexAttribute.Tangent1(accessors, morphAccessors),
VertexAttribute.Color(accessors),
VertexAttribute.Uv(accessors),
};