PostProcessConfig Module
Functions and values
| Function or value |
Description
|
|
Default post-process configuration: No SSAO, No Bloom, ACES tone mapping.
|
Full Usage:
withBloom cfg pp
Parameters:
BloomConfig
pp : PostProcessConfig
Returns: PostProcessConfig
|
Enables Bloom for glowing high-light areas. Creates a soft glow around pixels that exceed the threshold brightness.
|
Full Usage:
withSSAO cfg pp
Parameters:
SSAOConfig
pp : PostProcessConfig
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.
|
Full Usage:
withToneMapping tm pp
Parameters:
ToneMappingConfig
pp : PostProcessConfig
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).
|
Mibo