gfx.glow.set_normalized
Client
Toggles level normalization for the glow post-processing effect
Syntax
local status = gfx.glow.set_normalized(
state
)Parameters
| Type | Name | Description |
|---|---|---|
bool | state | Determines 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
| Type | Name | Description |
|---|---|---|
bool | status | true on successful execution, false otherwise |
Examples
-- Enable normalization to keep consistent brightness
gfx.glow.set_normalized(true)
-- Disable normalization
gfx.glow.set_normalized(false)