kNeutralTangent top-level property

Vector4 kNeutralTangent
final

A unit tangent along +X with a positive bitangent sign.

Arbitrary in direction — any unit vector would do for a mesh with no UVs — but it must not be zero, because the shader normalizes it.

Implementation

final Vector4 kNeutralTangent = Vector4(1.0, 0.0, 0.0, 1.0);