I'm doing Simple Shadow Mapping and have problems with handling shadow acne and erroneous self shadowing and just can't get rid of it. I already tried adding a bias to the depth value and rendering back faces to the depth buffer, but it doesn't remove all artifacts. I also have problems choosing the right bias which leads to Peter Panning.
So my questions are:
Is there a robust (and easy) way to completely eliminate shadow acne and erroneous self shadowing?
How to choose the perfect bias?