Shadow Volumes

Started by
0 comments, last by LaBasX2 22 years, 8 months ago
Hi! I''m currently trying to implement shadow volumes. Actually they are working fine, but the problem is that they don''t work when you are inside the volume. Now I''ve found a technique called Carmack''s Reverse in a NVidia presentation (http://partners.nvidia.com/marketing/developer/devrel.nsf/045cfdb95e306a4d882568170059fa93/de904d04e78db64488256a1c007e0072/$FILE/GDC01_md2shader.ppt) which promises to solve all near clipping problems. Has someone already tried to implement that aglorithm? Actually it sounds very simple and the fact that you don''t have problems with the near clip plane ist great but somehow it doesn''t work correctly in my implementation.... Thanks in advance LaBasX2
Advertisement
Ok, now my implementation is even working thanks to some great help from the OpenGL forum. There are really no problems with the near clip plane like flickering or something similar. So Carmack''s Reverse is really a cool technique for shadow volumes.

LaBasX2

This topic is closed to new replies.

Advertisement