Skip to main content
gamedev.net
🔒 Locked

Shadow volumes

Started by siberianstar 0 replies 600+ views
Original Post
siberianstar
siberianstar
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

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.