# OpenGL Shadow Volume (Fleeting)
## Metadata
**Status**:: #x
**Zettel**:: #zettel/fleeting
**Created**:: [[2024-10-14]]
## Synopsis
- (**Reference**:: [[Wikipedia Authors - Shadow volume (Highlights)]])
- Face culling
```
glEnable(GL_CULL_FACE);
glCullFace(GL_FRONT); // GL_BACK
```
- Stencil testing
- Off-screen rendering via framebuffer
- [Chapter 11. Efficient and Robust Shadow Volumes](https://developer.nvidia.com/gpugems/gpugems3/part-ii-light-and-shadows/chapter-11-efficient-and-robust-shadow-volumes-using) in [[Calibre 383 - Hubert Nguyen - GPU Gems 3|Hubert Nguyen - GPU Gems 3]]
- Compare with Shadow Mapping