gfx.glow.set_hdr_bleed_threshold

Client

Sets the HDR bleed threshold of the glow post-processing effect


Syntax

local status = gfx.glow.set_hdr_bleed_threshold(
    value
)

Parameters

TypeNameDescription
floatvalueHDR bleed threshold value to apply
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, false otherwise

Examples

Allow only very bright pixels to bleed glow
gfx.glow.set_hdr_bleed_threshold(1.5)

On this page