11
Render Postprocessing
In this chapter, we’ll look at one of the main features of Three.js that we haven’t touched upon yet: render postprocessing. With render postprocessing, you can add additional effects to your scene after it is rendered. For instance, you could add an effect that makes the scene look like it is shown on an old TV, or you could add blur and bloom effects.
The main points we’ll discuss in this chapter are as follows:
- Setting up Three.js for postprocessing
- Some basic postprocessing passes provided by Three.js, such as BloomPass and FilmPass
- Applying effects to part of a scene using masks
- Using ShaderPass to add even more basic postprocessing effects, such as sepia filters, mirror effects, and color adjustments
- Using ShaderPass ...
Get Learn Three.js - Fourth Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.