🪚 Anti-Aliasing: SSAA, MSAA and FXAA Compared
Why edges look like staircases, and the three classic fixes: draw more pixels (SSAA), test more points but shade once (MSAA), or blur the edges afterwards (FXAA). Compare them on your own GPU.
Why edges look like staircases, and the three classic fixes: draw more pixels (SSAA), test more points but shade once (MSAA), or blur the edges afterwards (FXAA). Compare them on your own GPU.
Real light ranges from starlight to the sun, but a screen only goes from 0 to 1. See how games keep the full range, squeeze it onto the screen with tone mapping, and fake glare with bloom.
Blur, sharpen, edge detection and emboss are all the same trick: a weighted sum of neighbouring pixels. Edit a kernel live, then see why games blur in two passes instead of one.
The graphics card doesn’t have to draw to the screen. Draw into a texture instead, and you get security cameras, mirrors, shadows and every post-processing effect in modern games.