Tangents would allow rendering with normal mapping. Tangent can be calculated from positions and uv of three vertices from a face.
TBD: a tangent probably needs to store an additional value (1 or -1) that is needed to compute the direction of bitangent, so a Vector3d type might not be enough to store the value.
Tangents would allow rendering with normal mapping. Tangent can be calculated from positions and uv of three vertices from a face.
TBD: a tangent probably needs to store an additional value (1 or -1) that is needed to compute the direction of bitangent, so a
Vector3d
type might not be enough to store the value.This depends on elm-3d-scene support for normal maps.