Vital.sandbox
GFXAdjustment

gfx.adjustment.get_lut

Client

Retrieves the path of the currently active LUT on the adjustment post-processing effect


Syntax

local result = gfx.adjustment.get_lut()

Parameters

TypeNameDescription

Returns

TypeNameDescription
string / boolresultPath of the active LUT, or false if no LUT is currently applied

Examples

--Retrieve currently active LUT
local lut = gfx.adjustment.get_lut()

if lut then
    engine.print("info", "Active LUT:", lut)
else
    engine.print("info", "No LUT is currently applied")
end

On this page