Vital.sandbox
GFXEmissive

gfx.emissive.set_map_strength

Client

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


Syntax

local status = gfx.emissive.set_map_strength(value)

Parameters

TypeNameDescription
floatvalueGlow map strength value to be applied
Controls how strongly the assigned glow map texture influences the glow effect. Higher values give the glow map more influence over which areas of the scene produce glow

Returns

TypeNameDescription
boolstatustrue on successful execution, or false on failure

Examples

--Give the glow map full influence
gfx.emissive.set_map_strength(1.0)

On this page