← All demos

Multisample anti-aliasing

The same low-resolution pinwheel rendered twice: into a plain Framebuffer and into a MultisampleTarget that is resolved to a texture. Both are magnified so you can see individual pixels. Switching the sample count disposes and recreates the multisampled target live.

1× vs 4× MSAA
Left: no multisampling · Right: MSAA + resolve() MultisampleTarget
0.12

Slow rotation is the classic aliasing stress test — watch the stair-stepped edges crawl on the left while the resolved side stays smooth. API reference: MultisampleTarget.