Vital.sandbox
GFXEmissive

gfx.emissive.set_mix

Client

The mix amount to be set for the emissive post-processing effect


Syntax

local status = gfx.emissive.set_mix(value)

Parameters

TypeNameDescription
floatvalueMix value to be applied
Controls the blend ratio between the glow effect and the original scene when the blend mode is set to mix. A value of 0 shows only the original scene while 1 shows only the glow result

Returns

TypeNameDescription
boolstatustrue on successful execution, or false on failure

Examples

--Blend glow at 50% with the original scene
gfx.emissive.set_mix(0.5)

On this page