Decodes 16-bit octahedral normals produced by
octEncodeNormalsToU16 back to unit 3D vectors — the exact inverse of
that encoder (range [0, 65535] mapped to oct coordinates [-1, 1]).
Distinct from decompressNormals, which decodes a different oct format
(signed [-128, 127] via (2v+1)/255); pairing that decoder with this
encoder yields garbage normals.
Decodes 16-bit octahedral normals produced by octEncodeNormalsToU16 back to unit 3D vectors — the exact inverse of that encoder (range
[0, 65535]mapped to oct coordinates[-1, 1]).Distinct from decompressNormals, which decodes a different oct format (signed
[-128, 127]via(2v+1)/255); pairing that decoder with this encoder yields garbage normals.