PDA

View Full Version : Second-depth shadow maps



LaBasX2
03-02-2002, 05:46 AM
Hi!

I found a paper on shadow maps that seems to be quite interesting. The main advantage of this method is that you don't need any biasing.
http://www.cs.unc.edu/~lastra/Courses/Papers/Wang_Molnar_Second_Depth_Shadow.pdf

I haven't yet read the complete paper in detail but what is promised sounds really good.

Has anyone already tried this algorithm?

Thanks
LaBasX2

flo
03-02-2002, 11:23 PM
Yes. Given closed shapes, it works well in most cases.

One anomaly is not noted in the paper though. The second-depth (back-facing) polygon must not touch the third nearest surface, which should be in shadow. Near the intersection of the second and the third shape, onto the third surface falsely lit pixels occur, which are rather disturbing.

LaBasX2
03-03-2002, 02:51 AM
Hmm....so it isn't as perfect as it promises to be....would also have been too nice http://www.opengl.org/discussion_boards/ubb/wink.gif

Thanks for your reply!

LaBasX2

davepermen
03-03-2002, 03:19 AM
it is as perfect as you want it to be.. with a nice resoluton (16bit or 24bit, for example), it is very very accurate.. why? cause the MAJOR problem is finally solved, the front-face-flickering.. the chance that you can see the faces wich are that near to the backfaces and that you then can see the flickering are very very very low compared to the normal shadow-buffer-problems.. so we can say it is solved.. that way you get very accurate and fast and simple shadow-mapping..


nothing is perfect http://www.opengl.org/discussion_boards/ubb/wink.gif