From Camera- to Clip-Space, to NDCs and z-Fighting
· One min read

Continuing from my article on Model Matrix Rotations, I've written about projection matrices - one of the final steps before rasterization.
The article derives both orthographic and perspective projection matrices, showing how view volumes in camera space are transformed into the canonical unit cube.