A tetrahedral upscaler that can be used to augment 3D LUTs.

Based on an implementation by Garrett Johnson: https://github.com/gkjohnson/threejs-sandbox/blob/master/3d-lut/src/TetrahedralUpscaler.js

Constructors

Methods

Constructors

Methods

  • Expands the given data to the target size.

    Parameters

    • data: ArrayBufferView

      The input RGBA data. Assumed to be cubic.

    • size: number

      The target size.

    Returns ArrayBufferView

    The new data.