Sign in to follow this  
siberianstar

Shadow volumes

Recommended Posts

siberianstar    134
Hello, I've been working to use shadow volumes on PSP. The problem is that PSP does not perform clipping, it just culls off primitives wich vertices goes offscreen. So if i try to render my shadow volume the rays are culled and the shadow volume is not rendered correctly or more often it disappears. http://www.esfondo.com/snap0052.bmp http://www.esfondo.com/snap0053.bmp http://www.esfondo.com/snap0054.bmp in the last screenshot the shadow volume is culled bcz it goes over the guardband. I Was wondering if it's possible to clip the shadow volume or add caps for all the frustrum planes (left,right,bottom,top). I've tried to clip the volume using the Sutherland-Hodgman's polygon-clipping Algorithm but it didn't work. Thanks in advance

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