Vital.sandbox
GFXEmissive

gfx.emissive.set_bloom

Client

The bloom threshold to be set for the emissive post-processing effect


Syntax

local status = gfx.emissive.set_bloom(value)

Parameters

TypeNameDescription
floatvalueBloom value to be applied
Controls how much of the glow effect bleeds onto non-emissive surfaces in the scene. Higher values cause the glow to spread further and illuminate surrounding geometry

Returns

TypeNameDescription
boolstatustrue on successful execution, or false on failure

Examples

--Allow glow to bleed onto surrounding surfaces
gfx.emissive.set_bloom(0.5)

On this page