Type Alias: TonemapSetting
TonemapSetting =
object
Defined in: src/setting/post/TonemapSetting.ts:23
Tonemap Setting — final HDR→LDR curve applied after every other post-effect, just before the swapchain receives the frame. Defaults to ACES Filmic, paired with an sRGB output color space — the standard HDR-to-display pairing.
Properties
enable
enable:
boolean
Defined in: src/setting/post/TonemapSetting.ts:26
Master switch. When false, the post is still attached but acts as a straight passthrough — useful for A/B comparisons.
exposure
exposure:
number
Defined in: src/setting/post/TonemapSetting.ts:29
Linear scale multiplied onto the HDR color before the curve. 1.0 is the neutral default (no exposure compensation).
mode
mode:
TonemapMode
Defined in: src/setting/post/TonemapSetting.ts:31
Curve selector, see TonemapMode.
whitePoint?
optionalwhitePoint?:number
Defined in: src/setting/post/TonemapSetting.ts:34
Scene-linear value that maps to pure white in 'Reinhard' mode. Ignored by the other curves. Default 4.

