gfx.adjustment.set_lut

Client

Applies a specified LUT on the adjustment post-processing effect


Syntax

local status = gfx.adjustment.set_lut(
    path
)

LUTs (Look-Up Tables) are image-based maps used for color grading and correction. They remap color values to produce a desired visual tone or style.

  • Use cases — cinematic tones, warm/cool color shifts, stylized or corrective filters.
  • Square grid layout — colors arranged in a grid (e.g. 8×8, 16×16, 64×64); higher sizes yield greater accuracy.
  • Strip layout — colors arranged in a single horizontal row of N columns.
  • File format — provide the path as a .png image using the appropriate layout.

Parameters

TypeNameDescription
stringpathPath of the LUT to apply

Returns

TypeNameDescription
boolstatustrue on successful execution, false otherwise

Examples

Apply a LUT for cinematic color grading
gfx.adjustment.set_lut("lut/cinematic.png")

On this page