MCP 3D Printer Server

by DMontgomery40
Verified
export default /* glsl */` #if defined( USE_LOGDEPTHBUF ) // Doing a strict comparison with == 1.0 can cause noise artifacts // on some platforms. See issue #17623. gl_FragDepth = vIsPerspective == 0.0 ? gl_FragCoord.z : log2( vFragDepth ) * logDepthBufFC * 0.5; #endif `;