danini-the-panini/mittsu-opengl

View on GitHub
lib/mittsu/opengl/shader/chunks/logdepthbuf_fragment.glsl

Summary

Maintainability
Test Coverage
#if defined(USE_LOGDEPTHBUF) && defined(USE_LOGDEPTHBUF_EXT)

    gl_FragDepthEXT = log2(vFragDepth) * logDepthBufFC * 0.5;

#endif