Second-depth shadow maps

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

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.

Hmm…so it isn’t as perfect as it promises to be…would also have been too nice

Thanks for your reply!

LaBasX2

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