Game dev
Saved & recent

Anti-aliasing

Also called: AA

Related terms: jaggies, MSAA, FXAA, TAA

Pixels are square, so slanted edges come out as stairs. Anti-aliasing softens them by giving edge pixels a partial color based on how much of the pixel the shape covers.

MSAA takes several samples per pixel at triangle edges. FXAA blurs edges it finds in the finished image. TAA uses temporal accumulation to reuse samples from earlier frames.

Further reading
LearnOpenGL: anti-aliasing
0 / 1 covered pixel center sample 2 / 4 covered pixel four samples
Both views use the same sword and pixel grid. Four fixed subpixel samples estimate coverage: two hits in the enlarged pixel give equal foreground and background weights, while its center sample misses. This simplified spatial example does not simulate FXAA or TAA.

View in the full Game dev collection