gfx.glow.set_level_intensity

Client

Sets the intensity of a specific level of the glow post-processing effect


Syntax

local status = gfx.glow.set_level_intensity(
    idx,
    value
)

Parameters

TypeNameDescription
intidxLevel index to target
Glow is applied in multiple passes at different scales; each level corresponds to a blur pass of increasing size
floatvalueIntensity value to apply to the specified level
Higher values increase the contribution of that level to the final result

Returns

TypeNameDescription
boolstatustrue on successful execution, false otherwise

Examples

Set intensity of a specific level
-- Set a strong contribution on level 1
gfx.glow.set_level_intensity(1, 1.0)

-- Disable contribution on level 3
gfx.glow.set_level_intensity(3, 0.0)

On this page