I read about the logarithmic depth buffer. does it interpolate vertex attributes properly? I thought the rendering pipeline goes down this way.
vertex shader -> divide by w -> viewport transform -> interpolation -> fragment shader
(Zclip) ---------------- (Zndc) --------- (Zwindow)
When interpolation happens, rasterizer does linear interpolation about Zwindow. Because Zwindow is proportional to 1/Zview, we come to apply perspective interpolation about Zview with linear interpolation about Zwindow.
But, in the logarithmic depth buffer, they manipulate z value in vertex shader. It means that Zwindow values are no more proportional to 1/Zview and rasterizer's interpolation is no more correct.
Do I understand correctly? what am I missing here?
GL_ZERO_TO_ONElets you use the entire floating point precision over the entire depth range from zero to infinity.