Vital.sandbox
GFXEmissive

gfx.emissive.set_normalized

Client

Toggles glow level normalization for the emissive post-processing effect


Syntax

local status = gfx.emissive.set_normalized(state)

Parameters

TypeNameDescription
boolstateDetermines whether glow levels are normalized:
• When true - glow 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, or false on failure

Examples

--Enable normalization to keep consistent brightness
gfx.emissive.set_normalized(true)

On this page