post-stack.js
three.js and WebGL · MIT
- What it does
Bloom, vignette and optional depth of field through the pmndrs postprocessing package, with a careful note on tone mapping: the stack takes it off the renderer and applies it once at the end, or a composited frame comes out flat. One file; copy it out of the skill folder into your project.
- Get it
const post = createPostStack({ renderer, scene, camera, bloom: { threshold: 1.0, strength: 0.3, radius: 0.7 }, vignette: 0.25, toneMapping: { mode: 'ACESFilmic', exposure: 0.9 } });
- Needs
Postprocessing 6.39.4 from npm
- License
MIT
- From