postprocessing

postprocessing

Post processing library for three.js

Description

Stacking effects with three.js's built in post processing gets slow because each effect draws a full screen pass. postprocessing merges effects into as few render passes as possible, so bloom, depth of field, antialiasing, tone mapping and chromatic aberration together cost less. The demo page lets you switch effects and tweak parameters live. Zlib licensed.

Features



Effect merging: adjacent effects compile into one shader pass.

Common effects: bloom, depth of field, SMAA, tone mapping, color grading and more.

Composable: chain through EffectComposer or write your own effects.

Live demo: switch effects and parameters in the official demo.