Vital.sandbox
GFXEmissive

gfx.emissive.set_strength

Client

The strength to be set for the emissive post-processing effect


Syntax

local status = gfx.emissive.set_strength(value)

Parameters

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

Returns

TypeNameDescription
boolstatustrue on successful execution, or false on failure

Examples

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

On this page