History: -Stencil Buffer
Source of version: 3 (current)
Copy to clipboard
{INCLUDE(page="ogrelex ext tpl")/}
---
__Stencil Buffer__ - An on-card buffer that is used for special effects involving ((-Pixel Shader))s. The stencil buffer allows certain ((flag))s to be set on a per-pixel basis that are then read at the last stage of rendering and used as keys for pixel shaders.
A decent explanation is at the bottom of the page here:
[http://www.beyond3d.com/content/articles/41/]
Stencil Buffer Tutorial:
[http://developer.nvidia.com/object/Stencil_Buffer_Tutorial.html]