Postprocessing passes
Three.js comes with a number of postprocessing passes you can use directly with THREE.EffectComposer
. Note that it's best to play around with the examples in this chapter to see the result of these passes and understand what is happening. The following table gives an overview of the passes that are available:
Pass name |
Description |
---|---|
|
This is an effect that makes light areas bleed into darker areas. This simulates an effect where the camera is overwhelmed by extremely bright light. |
|
This applies a layer of black dots representing the original image across the screen. |
|
This simulates a TV screen by applying scanlines and distortions. |
|
This shows an electronic glitch on the screen at a random time interval. |
|
This allows you to apply a mask to the current image. Subsequent passes are only applied to the masked area. |
|
This renders a scene based on the... |