Expand description
Caller-buffered UV-aligned tangent frames for authored normal maps. Caller-buffered UV-aligned tangent frames for authored normal maps.
Enums§
- Strict
Tangent Frame Error - Strict derivative admission. The legacy tangent generator deliberately uses a fallback for missing/degenerate UVs; this opt-in path refuses those cases.
- Tangent
Frame Error
Functions§
- tangents_
from_ uvs_ into - Outputs xyz tangent and glTF handedness w. Six floats of scratch per vertex accumulate tangent/bitangent directions in deterministic triangle order. Invalid indices, streams and buffers fail before either output is touched.
- tangents_
from_ uvs_ strict_ into - Generate UV-aligned tangents using the existing deterministic owner, after
strict geometric/UV admission. UV orientation changes require vertex splits.
temporaryandscratchmay change on failure;outis unchanged on all returned errors. No allocation occurs. The checked work charge is a bound on structural visits, not elapsed time or a bound on caller memory.