Header menu logo Mibo

PostProcessConfig Module

Functions and values

Function or value Description

defaults

Full Usage: defaults

Returns: PostProcessConfig

Default post-process configuration: No SSAO, No Bloom, ACES tone mapping.

Returns: PostProcessConfig

withBloom cfg pp

Full Usage: withBloom cfg pp

Parameters:
Returns: PostProcessConfig

Enables Bloom for glowing high-light areas. Creates a soft glow around pixels that exceed the threshold brightness.

cfg : BloomConfig
pp : PostProcessConfig
Returns: PostProcessConfig

withSSAO cfg pp

Full Usage: withSSAO cfg pp

Parameters:
Returns: PostProcessConfig

Enables Screen Space Ambient Occlusion (SSAO). Adds depth perception by darkening corners and crevices, at the cost of a full-screen sampling pass.

cfg : SSAOConfig
pp : PostProcessConfig
Returns: PostProcessConfig

withToneMapping tm pp

Full Usage: withToneMapping tm pp

Parameters:
Returns: PostProcessConfig

Sets the tone mapping algorithm used to map HDR color values to the screen's limited range. Different algorithms produce different visual styles (e.g., Filmic is cinematic, ACES is standard for games).

tm : ToneMappingConfig
pp : PostProcessConfig
Returns: PostProcessConfig

Type something to start searching.