ToneMappingEffect

class in Infernux.renderstack

Inherits from: FullScreenEffect

Description

HDR-to-LDR tone mapping post-processing effect.

Should be the last effect in the post-process chain so that bloom and other HDR effects can operate on the full dynamic range.

Attributes: mode: Tone mapping operator (ACES is recommended). exposure: Pre-tonemap exposure multiplier (default 1.0). gamma: Gamma correction exponent (default 2.2 = standard sRGB).

description

Properties

Name Type Description
name str (read-only)
injection_point str (read-only)
default_order int (read-only)
menu_path str (read-only)
mode ToneMappingMode
exposure float
gamma float

properties

Public Methods

Method Description
get_shader_list() → List[str]
setup_passes(graph: RenderGraph, bus: ResourceBus) → None
set_params_dict(params: Dict[str, Any]) → None Restore parameters from a dictionary, normalizing the mode value.

public_methods

Example

example

# TODO: Add example for ToneMappingEffect

See Also

see_also