gfx.adjustment.set_saturation

Client

Sets the saturation level of the adjustment post-processing effect


Syntax

local status = gfx.adjustment.set_saturation(
    value
)

Parameters

TypeNameDescription
floatvalueSaturation value to apply

Returns

TypeNameDescription
boolstatustrue on successful execution, false otherwise

Examples

Set adjustment saturation
-- Set saturation to default
gfx.adjustment.set_saturation(1.0)

-- Desaturate (greyscale)
gfx.adjustment.set_saturation(0.0)

On this page