Questions tagged [stencil-buffer]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
27
votes
3answers
12k views

What is a stencil buffer?

Wikipedia states that a stencil buffer is some arbitrary buffer a shader can use. However, it hints that it's used for clipping, or otherwise "tightly binding" the depth and pixel buffers, slightly ...