gfx.glow.set_blend_mode

Client

Sets the blend mode of the glow post-processing effect


Syntax

local status = gfx.glow.set_blend_mode(
    value
)

Parameters

TypeNameDescription
gfx.glow.blend_modevalueBlend mode to apply

Returns

TypeNameDescription
boolstatustrue on successful execution, false otherwise

Examples

Set glow blend mode
-- Set additive blend mode
gfx.glow.set_blend_mode(gfx.glow.blend_mode.ADDITIVE)

-- Set mix blend mode
gfx.glow.set_blend_mode(gfx.glow.blend_mode.MIX)

On this page