Supersampling a Partly Covered Pixel

Sampling at several positions within one pixel can approximate the visible contribution of a geometric shape.

Source
Anbloq
Language
English
Created
Updated
Chapters
2
Reading time
1 min
In this article2 chapters
  1. Trace four positions
  2. Check patterns and cost

Trace four positions

If a white polygon covers three of four samples on a black background, averaging equally gives three quarters in a simple linear model. Sample averages supply the result.

Check patterns and cost

Finite sample patterns can still miss narrow details. More samples require more work. Edge sampling explains why coverage depends on which positions are evaluated.[1]

References

  1. Matt Pharr, Wenzel Jakob and Greg Humphreys, Physically Based Rendering ↩