gfx.adjustment.set_saturation
Client
Sets the saturation level of the adjustment post-processing effect
Syntax
local status = gfx.adjustment.set_saturation(
value
)Parameters
| Type | Name | Description |
|---|---|---|
float | value | Saturation value to apply |
Returns
| Type | Name | Description |
|---|---|---|
bool | status | true on successful execution, false otherwise |
Examples
-- Set saturation to default
gfx.adjustment.set_saturation(1.0)
-- Desaturate (greyscale)
gfx.adjustment.set_saturation(0.0)