Remember Chapter 4, Using Materials to Customize 3D Objects Appearance, about materials? Behind the materials are GPU programs called shaders. Shaders are a combination of two linked programs: the vertex shader and the pixel shader. The vertex shader works on vertices (transforms their 3D positions to 2D positions on the screen), while the pixel shader works on pixels (determines the final color of each pixel). Here, you can see the post-processes to be only a pixel shader since the vertex shader is the same for all.
Finally, the post-processes tend to create effects only in the view space. In other words, the post-processes are never applied to objects such as meshes, they are applied only to the camera itself. In this chapter, we will cover the following topics:
- Using post-processes with Babylon.js
- Using post-process rendering pipelines with Babylon.js
- Discussing the built-in post-processes