diff --git a/Editor/Processors/SkinnedMeshes/MeshInfo2.cs b/Editor/Processors/SkinnedMeshes/MeshInfo2.cs index f993bbd6a..853897970 100644 --- a/Editor/Processors/SkinnedMeshes/MeshInfo2.cs +++ b/Editor/Processors/SkinnedMeshes/MeshInfo2.cs @@ -305,7 +305,7 @@ public void WriteToMesh(Mesh destMesh) for (var i = 0; i < Vertices.Count; i++) { vertices[i] = Vertices[i].Position; - normals[i] = Vertices[i].Normal.normalized; + normals[i] = Vertices[i].Normal; } destMesh.vertices = vertices; @@ -317,12 +317,7 @@ public void WriteToMesh(Mesh destMesh) { var tangents = new Vector4[Vertices.Count]; for (var i = 0; i < Vertices.Count; i++) - { - var tangent3 = (Vector3)Vertices[i].Tangent; - var tangentW = Vertices[i].Tangent.w; - tangent3.Normalize(); - tangents[i] = new Vector4(tangent3.x, tangent3.y, tangent3.z, tangentW); - } + tangents[i] = Vertices[i].Tangent; destMesh.tangents = tangents; }