Skip to content

LUT

A LUT or lookup table is a special texture that is used to perform color grading. To create a LUT you usually use the neutral LUT and make the same color adjustments to it that you want to apply to your render results. LUTs can be used by Camera nodes.

The neutral LUT The neutral LUT

Properties

NameTypeDefaultAccessDescription
size2i🟩❌Size of the LUT texture in pixels. Must be 512x512.
Details

Type
1b: boolean
1c: color (integer)
1i: integer
1f: float
1s: string
2b: 2-component boolean vector
2i: 2-component integer vector
2f: 2-component float vector
3b: 3-component boolean vector
3i: 3-component integer vector
3f: 3-component float vector

Access
🟩 : Property value can be read with FxFile.Get
🟥 : Property value can be changed with FxFile.Set
❌ : Property value is read-only and can't be changed

Create

LUT textures can't be created like other files, they have to be imported with FxFile.Import and the FileType 224.

lua
lutID = FxFile.Import(224, "c:\\MyFolder\\MyLUT.png", "");

Files

The default LUT is located at Programs\Foxel Studio\default.fxllut. Other imported LUTs are stored as shared files in Shared\Luts\ with the extension .fxllut.