I would like your opinion on Stencil Shadows (ok i know it have already posted somewhere) about carmack’s reverse.
My question is: When using carmack’s reverse it avoid all problems and bugs with shadows?
Is still remain some cases to manage after that?
Sorry I’m new with shadows.
Thank you.
The zfail technique, which I think means the same as the “Carmacs reverse” also requires the volumes to be closed. This can be a problem especially if your model isn’t closed. This has also been discussed here recently, not very hard to fix. The volumes aren’t allowed to be clipped by the far clipping plane. This can be solved by a projection matrix trick, see the nvidia paper called “Infinite shadow volumes”.