Heya all, I am trying to implement an Nvidia DirectX demo in OpenGL (and GLSL) and ran into the following call in their sample code:
m_TechniqueLinearizeD = m_Effect->GetTechniqueByName( “LinearizeDepth” );
This effect is then applied to their depth buffer before the buffer is used in the shader code. Is anyone familier with what this effect does?
Obviously it is attempting to Linearise the depth buffer in some fashion but I need to reproduce this effect in OpenGL… any seen this done before? Suggestions?
p.s. I tried google and MSDN, niether has any useful hits for “LinearizeDepth”