gfx.glow.set_hdr_luminance_cap

Client

Sets the HDR luminance cap of the glow post-processing effect


Syntax

local status = gfx.glow.set_hdr_luminance_cap(
    value
)

Parameters

TypeNameDescription
floatvalueHDR luminance cap value to apply
Sets the maximum luminance value that any pixel can contribute to the glow effect, preventing excessively bright pixels from producing an overpowering or blown-out glow

Returns

TypeNameDescription
boolstatustrue on successful execution, false otherwise

Examples

Cap luminance to prevent blown-out glow
gfx.glow.set_hdr_luminance_cap(8.0)

On this page