12.07.2015 Views

Lecture notes - FreeDesktop.Org

Lecture notes - FreeDesktop.Org

Lecture notes - FreeDesktop.Org

SHOW MORE
SHOW LESS
  • No tags were found...

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Shadow Volumes – Z-Fail1. Disable depth and color writes2. Configure stencil operation:­ GL_INCR_WRAP on depth fail back-faces­ GL_DECR_WRAP on depth fail front-faces­ GL_KEEP for all other cases3. Draw shadow volumes⇨Method first publicly described by John Carmackwhile working on Doom 3­ Often called Camack's reverse© Copyright Ian D. Romanick 2009, 2011 9-February-2011

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!