Lecture notes - FreeDesktop.Org
Lecture notes - FreeDesktop.Org
Lecture notes - FreeDesktop.Org
- 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⇨ Front and back caps are trivial. What about thesides? Add a degenerate quad at each edge of the model Quad stores normals of one polygon with one vertexpair and normals of the other polygon with the othervertex pair In vertex shader, test vertex normal against light. Ifnormal points away from light, project to infinity For silhouette edges one pair will be projected away and theother pair will not© Copyright Ian D. Romanick 2009, 2011 9-February-2011