Fix mesh tangent and bitangent vectors generation with OpenFBX backend by using MikkTSpace
This commit is contained in:
@@ -56,6 +56,13 @@ public:
|
||||
/// </summary>
|
||||
Array<Vector3> Tangents;
|
||||
|
||||
/// <summary>
|
||||
/// Bitangents vectors signs (used for bitangent reconstruction). Can be +1 or -1.
|
||||
/// bitangent = cross(normal, tangent) * sign
|
||||
/// sign = dot(cross(bitangent, normal), tangent)
|
||||
/// </summary>
|
||||
Array<float> BitangentSigns;
|
||||
|
||||
/// <summary>
|
||||
/// Mesh index buffer
|
||||
/// </summary>
|
||||
|
||||
Reference in New Issue
Block a user