gfx.glow.set_strength

Client

Sets the strength of the glow post-processing effect


Syntax

local status = gfx.glow.set_strength(
    value
)

Parameters

TypeNameDescription
floatvalueStrength value to apply
Controls the glow's spread or filter strength. Higher values produce a softer, wider glow while lower values keep the glow tighter around glow surfaces

Returns

TypeNameDescription
boolstatustrue on successful execution, false otherwise

Examples

Set a soft wide glow spread
gfx.glow.set_strength(2.0)

On this page