mirror of
https://github.com/vrm-c/UniVRM.git
synced 2026-08-27 05:14:27 -05:00
normalize tangents
This commit is contained in:
@@ -180,7 +180,7 @@ namespace VRM
|
||||
srcMesh.GetBlendShapeFrameWeight(i, 0),
|
||||
vertices.Select(x => blendShapeMatrix.MultiplyPoint(x) * s).ToArray(),
|
||||
normals.Select(x => blendShapeMatrix.MultiplyVector(x).normalized).ToArray(),
|
||||
tangents
|
||||
tangents.Select(x => blendShapeMatrix.MultiplyVector(x).normalized).ToArray()
|
||||
);
|
||||
}
|
||||
catch (Exception)
|
||||
|
||||
Reference in New Issue
Block a user