Skip to content

@modoki/engine / index / VignettePostFX

Variable: VignettePostFX

const VignettePostFX: Trait<{ enabled: boolean; intensity: number; smoothness: number; }>

VignettePostFX — screen-edge darkening config (singleton per scene). When enabled, Scene3D adds a vignette stage to the post-FX stack — see docs/rendering.md "Vignette & Depth of Field". Composes with bloom, DOF, AO, and NPR. Values are live uniforms — changes update in place without rebuilding the node graph.

Built with Modoki.