1.1 KiB
1.1 KiB
The Rendering Pipeline
The four rendering stages:
- Vertex Specification
- Vertex processing
- Rasterisation
- Fragment shader
- Application stage is the software that runs on the CPU
- Vertex processing stage is responsible for processing operations on individual vertices
- Rasterisation stage is responsible for calculating all of the pixels inside the triangles that are being rendered
- Pixel processing stage is responsible for processing operations on individual fragments.
- Texturing can also happen in the fragment shader
- Fragment shader computes a colour which is then merged with the colour buffer
- Merging calculates which fragments are hidden behind other fragments and only keeps the colour for the visible fragment


