Jump to content
  • Advertisement
Sign in to follow this  
Leo_E_49

Shadow volume front capping

This topic is 4769 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Do you construct the shadow volume front cap with the faces of the mesh pointing towards or away from the light? (I assume the ones facing away from the light form the volume cap) Also, will the silhouette always be a closed shape? i.e. will the silhouette always form a closed polygon even if some parts of the mesh overlap one another from the light's perspective? If so, why? e.g. Why wouldn't the arm's silhouette on a human mesh form a gap at the armpit?

Share this post


Link to post
Share on other sites
Advertisement
Bump. I really need some answers on this one, soon enough I'll be implementing this stuff for real, I'd rather understand it properly.

Share this post


Link to post
Share on other sites
the caps [both ends... depends on the shadow method you chose] should point the same way as the volumes... if the faces on the volumes point out so should the caps

it will always be a closed mesh, but that doesn't mean it will not intersect itself

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!