# Wikipedia Authors - Shadow volume (Highlights) ![rw-book-cover|256](https://readwise-assets.s3.amazonaws.com/media/uploaded_book_covers/profile_155788/Doom3shadows.jpg) ## Metadata **Review**:: [readwise.io](https://readwise.io/bookreview/44866419) **Source**:: #from/readwise #from/reader **Zettel**:: #zettel/fleeting **Status**:: #x **Authors**:: [[Wikipedia Authors]] **Full Title**:: Shadow volume **Category**:: #articles #readwise/articles **Category Icon**:: 📰 **Document Tags**:: #graphic-programming **URL**:: [en.wikipedia.org](https://en.wikipedia.org/wiki/Shadow_volume) **Host**:: [[en.wikipedia.org]] **Highlighted**:: [[2024-10-11]] **Created**:: [[2024-10-13]] ## Highlights - • Render the scene as if it were completely in shadow. • For each light source: 1. Using the depth information from that scene, construct a mask in the stencil buffer that has holes only where the visible surface is not in shadow. 2. Render the scene again as if it were completely lit, using the stencil buffer to mask the shadowed areas. Use additive blending to add this render to the scene. ([View Highlight](https://read.readwise.io/read/01j9xka2ht9174j3sb9x76rf0a)) ^797180515