|
|
|
|
| |
ATI Radeon® Stenciling
|
|
|
The Radeon® has an 8 bit stencil buffer and full support for the stencil functionality available in OpenGL® and Direct3D® (as of DirectX® 6).
Fundamentally, stenciling allows pixel/fragment rejection based on the comparison of an API-level reference value and the value in the stencil buffer. Applications of stencil buffers include general pixel-level primitive masking, constructive solid geometry and shadow volumes. See the latest DirectX® SDK and the OpenGL® Red Book for more discussion and implementation details specific to each API.
Capabilities
Many early commercial 3D accelerators did not support
stenciling. As such, Direct3D® applications should be
sure to check the dwStencilCaps member of the structure
filled in by IDirect3DDevice3::GetCaps.
- Sample Applications
-
| |
| |
|
| |
 |
|
|
|