3D software rasterizer built from scratch in C++. Loads OBJs, applies camera transformations, depth buffering, texture mapping, lighting, and anti-aliasing to render scenes.

Supersampling anti-aliasing (SSAA), supporting 1x, 4x, 9x, and 16x samples.

Lambertian shading off (left), and on (right).
Per-fragment normal displacement based on a normal map texture. Normal mapping off (top), and on (bottom).
Normal mapping implemented using a TBN matrix to transform tangent-space normals into world-space.
"Wizard" 3D model by Kamilla Kraus via Fab, used under CC BY 4.0.