gfx.glow.set_normalized

Client

Toggles level normalization for the glow post-processing effect


Syntax

local status = gfx.glow.set_normalized(
    state
)

Parameters

TypeNameDescription
boolstateDetermines whether levels are normalized:
• When true - level intensities are normalized so their combined contribution always sums to 1.0, preventing the overall brightness from increasing as more levels are enabled
• When false - normalization is disabled and each level contributes independently

Returns

TypeNameDescription
boolstatustrue on successful execution, false otherwise

Examples

Toggle level normalization
-- Enable normalization to keep consistent brightness
gfx.glow.set_normalized(true)

-- Disable normalization
gfx.glow.set_normalized(false)

On this page