Game dev
Saved & recent

Rasterization

Turning a triangle into pixels. The GPU checks which pixel centers fall inside the triangle and produces a fragment for each one. Values stored at the three corners, like UVs and normals, are blended across the inside.

It is the standard way games draw, because it is very fast. The alternative is ray tracing.

Further reading
Microsoft Learn: rendering pipeline
vertex color triangle edge pixel surface uncovered sample covered sample
This example uses one center sample per pixel. A partly touched pixel remains empty when its sample lies outside the projected triangle. Filled pixel colors use perspective-correct barycentric interpolation of the three vertex colors.

View in the full Game dev collection