GFXEmissive
gfx.emissive.set_hdr_luminance_cap
Client
The HDR luminance cap to be set for the emissive post-processing effect
Syntax
local status = gfx.emissive.set_hdr_luminance_cap(value)Parameters
| Type | Name | Description |
|---|---|---|
float | value | HDR luminance cap value to be applied 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
| Type | Name | Description |
|---|---|---|
bool | status | true on successful execution, or false on failure |
Examples
--Cap luminance to prevent blown-out glow
gfx.emissive.set_hdr_luminance_cap(8.0)