Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

@tresjs/post-processing

Tresjs3kMIT2.4.0TypeScript support: included

Post-processing library for TresJS

vue, 3d, threejs, three, post-processing, effects, fx

readme

repository-banner.png

npm package npm downloads discord chat


Post-Processing

Collection of useful helpers and fully functional, ready-made post-processing effects for Tres

  • 💡 Build your effects with Vue components only.
  • ⚡️ Powered by Vite
  • 🦾 Fully Typed

Installation

pnpm i @tresjs/post-processing

Docs

Checkout the docs

Demos

Contributing

We are open to contributions, please read the contributing guide to get started.

Build

To build the package run:

pnpm run build

Playground

To run the playground run, its a great way to test the components and helpers locally:

First install dependencies

pnpm i

And then to run the development server on http://localhost:5173

pnpm run playground

Docs

To run de docs in dev mode

pnpm run docs:dev

To build them

pnpm run docs:build

License

MIT

Sponsors

Be the first to support this project here ☺️

changelog

Changelog

2.3.1 (2025-03-29)

Bug Fixes

2.3.0 (2025-03-26)

Features

  • postprocessing: re-instance effect on prop changes without set (#193) (2104f16)

2.2.0 (2025-03-10)

Features

Bug Fixes

2.1.0 (2025-01-29)

Features

Bug Fixes

2.0.0 (2025-01-03)

⚠ BREAKING CHANGES

  • Consolidated post-processing effects under a unified namespace (@tresjs/post-processing). Pmndrs EffectComposer is now EffectComposerPmndrs, same for all the effects and composables under src/core/pmndrs to avoid name collisions

  • chore: remove nuxt playground

  • docs: updated docs to breaking changes

  • chore: update deps and tsconfig for docs

  • fix: adjusted aliases in vite config

Bug Fixes

  • unified-exports-suffix-pmndrs-effects (#154) (3a2ec97)

1.0.0 (2024-11-26)

Features

Bug Fixes

  • 67 depth of field and outline effect (#138) (3112305)

1.0.0-next.1 (2024-07-26)

Features

1.0.0-next.0 (2024-05-21)

Features

  • export useEffect composable (#105) (b7810ba)
  • render emit and advance playgroudn for render modes (5d256fc)
  • update to v4, useLoop and remove disable render (544fb39)

0.7.1 (2024-03-18)

Bug Fixes

0.7.0 (2023-11-14)

Features

Bug Fixes

  • avoid recursive updates when resizing the window (#81) (83f88c1)

0.6.0 (2023-11-14)

Features

0.6.0-next.0 (2023-10-30)

Features

0.5.0 (2023-10-28)

Features

  • 50 similar linting rules throughout the tresjs packages (#51) (1ea91b8)
  • post-processing: depth of field effect (#56) (9264231)
  • post-processing: pixelation effect (#68) (8e3e583)
  • post-processing: refactor of existing effects (#64) (a2afd3f)

Bug Fixes

  • 58 postprocessing breaks on nuxt (#69) (013b4a1)
  • deps: update dependency @tresjs/core to v3.2.0 (#53) (4ec3156)

0.4.0 (2023-09-06)

Features

  • refactor usecore to new state context provider (#44) (9f920f1)

Bug Fixes

  • deps: update dependency @tresjs/core to v2.4.0 (#20) (5725498)
  • deps: update dependency @tresjs/core to v3.1.1 (#48) (09fc4f8)
  • made effect composer live only when canvas has an area (#46) (7238cb3)

0.3.0 (2023-06-26)

Features

  • 23 refactor effects to vue files (#28) (a84149b)

Bug Fixes

0.2.1 (2023-06-19)

Bug Fixes

0.2.0 (2023-06-11)

Features

Bug Fixes

  • deps: update dependency @tresjs/cientos to v2.1.0 (ca9cc61)
  • deps: update dependency @tresjs/cientos to v2.1.2 (f1ced0e)
  • post-processing: made playground runnable (03af258)
  • type assetion on Bloom effect (78af757)