Vital.sandbox
GFXEmissive

gfx.emissive.set_hdr_bleed_threshold

Client

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


Syntax

local status = gfx.emissive.set_hdr_bleed_threshold(value)

Parameters

TypeNameDescription
floatvalueHDR bleed threshold value to be applied
Sets the luminance threshold above which bright HDR pixels begin to contribute to the glow effect. Only pixels brighter than this value will bleed glow into surrounding areas

Returns

TypeNameDescription
boolstatustrue on successful execution, or false on failure

Examples

--Only allow very bright pixels to bleed glow
gfx.emissive.set_hdr_bleed_threshold(1.5)

On this page