Archived

This topic is now archived and is closed to further replies.

sandral

Problem with CG Shadow Volume

Recommended Posts

Hello, I implement the CG Shadow Volume by Razvan Surdulescu from this site. But it doesn''t work exactly. The Problem is that i have a hole in the extruded Shadow Volume. It seems that the last triangle isn''t closed. Does anybody know this problem? Is it right that i don''t need to calculate the silhouette if i use this CG Shader? thanks in advance

Share this post


Link to post
Share on other sites
I didn''t see that shader, but with shaders you don''t need to calculate the sillhoute.This is the most powerful thing for shaders with shadow volume, it enables you to avoid locking of buffers, and caluculating the silhoute by the processor.
Regarding the hole in the shadow voulume, are you sure that your mesh is a closed one?

Share this post


Link to post
Share on other sites