Stencil Shadow Volume Overview Render the scene with shadow color Render the scene with shadow color For each light source For each light source Using the depth from pass 1, construct a mask in the stencil buffer enabling pixels not in shadow Using the depth from pass 1, construct a mask in the stencil buffer enabling pixels not in shadow Shadow volume constructed by computing silhouettes of occluders Shadow volume constructed by computing silhouettes of occluders And capping the volumes And capping the volumes Render the scene again, lit this time.
{}