Skip to main content

Module lut

Module lut 

Source
Expand description

3D colour LUT node loaded from an Adobe .cube or Resolve .3dl file.

The LUT is a size^3 grid of RGB output triples applied with trilinear interpolation. The grid is stored red-fastest (idx = r + size*(g + size*b)), which is the order a wgpu 3D texture expects (x = r, y = g, z = b), so the CPU path, the GPU upload, and the shader all index it the same way.

Structsยง

LutNode
Applies a 3D colour LUT to a frame via trilinear interpolation.