Skip to content

@modoki/engine / index / BloomPostFX

Variable: BloomPostFX

const BloomPostFX: Trait<{ enabled: boolean; radius: number; strength: number; threshold: number; }>

BloomPostFX — HDR bloom post-processing config (singleton per scene). When enabled, Scene3D routes the render through the post-FX stack's bloom stage (postfx/PostFXStack.ts) — whole-scene threshold bloom over the incoming color, including NPR's stylized output when NPR is also enabled (they compose; see docs/rendering.md "Post-Process Stack"). All values are live uniforms — changes update in place without rebuilding the node graph. Requires the WebGPU backend — on WebGL2 the plain render runs without bloom.

Built with Modoki.