Sign in to follow this  
Snarky

Shadows Volumes

Recommended Posts

something similar happened to my shadows when i implemented shadow volumes for the first time. finally it turned out that my transformation matrices for shadow volumes were wrong (i wasn't using a vertex shader).

may b its the same problem with ur implementation. from the picture that u have posted there's not much i can guess right now.

also make sure that u have ur scene's depth buffer filled, before u go on to render shadow volumes.

Share this post


Link to post
Share on other sites
Funny, I just solved that problem in my shadow + Cal3D code (I assume you're using Cal3D).

Nehe's tutorial (http://nehe.gamedev.net/data/lessons/lesson.asp?lesson=27) helped me a lot, specifically, the castshadow and neighbor generation function.

Btw, Cal3D's paladin model has some edges without neighbors, just in case you might think it's a bug.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this