Hi.

I'm implementing the logarithmic depth buffer as described in:

http://outerra.blogspot.co.uk/2013/0...mizations.html

But nowhere in any of the articles that preceded the final version does anyone say why they use 1.0 + gl_Position.w
and farplane + 1. Where does this + 1 term come from?