gfx.glow.set_mix

Client

Sets the mix amount of the glow post-processing effect


Syntax

local status = gfx.glow.set_mix(
    value
)

Parameters

TypeNameDescription
floatvalueMix value to apply
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, false otherwise

Examples

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

On this page