• Encodes normal vectors represented as 3x32-bit floating vectors into a 2x8-bit octahedron representation.

    Zina H. Cigolle, Sam Donow, Daniel Evangelakos, Michael Mara, Morgan McGuire, and Quirin Meyer, Survey of Efficient Representations for Independent Unit Vectors, Journal of Computer Graphics Techniques (JCGT), vol. 3, no. 2, 1-30, 2014

    Available online http://jcgt.org/published/0003/02/01/

    Parameters

    • out: Uint8Array
    • normals: Float32Array

    Returns void

Generated using TypeDoc