stranno
Member
US6384822B1 - Method for rendering shadows using a shadow volume and a stencil buffer - Google Patents
A method for real-time shadow rendering in a 3-D graphics scene uses an inverted z-test to mark a shadow area in a stencil buffer. Front and back facing shadow volume polygons are rendered subsequent to rendering the scene and corresponding stencil buffer entries are incremented for pixels...
patents.google.com
Popularised by Doom 3 but previously seen in other games, like the infamous Activision Value's Secret Service: Security Breach.