What is Stenciling?
Per-pixel test, similar to depth buffering.
Tests against value from stencil buffer;rejects fragment if stencil test fails.
Distinct stencil operations performed when
- Stencil test fails
- Depth test fails
- Depth test passes
Provides fine grain control of pixel update