Quote:Original post by simonjacoby
Sure, a depth bias will help you somewhat, but the problem with using a fixed depth bias is that it is scene dependent. You'll end up having to tweak it alot to look good for a particular light direction. Even when you do that, there will still be some angles where it won't work (you'll get light bleeding or surface acne), and if you change the lighting direction for the scene you'll probably need to re-tweak it some again :P
Oh agreed, biasing is evil and error prone. My favourite solution is to use VSM since in that case you can correctly output the variance for a given pixel using the derivatives of the depth (or the normal even). This will give pretty close to an exact result, modulo the areas where the derivatives are bad/undefined. Of course, I'm somewhat biased (pun intended) ;)