UNPKG

three

Version:

JavaScript 3D library

9 lines (6 loc) 165 B
export default /* glsl */` #ifdef USE_LOGDEPTHBUF vFragDepth = 1.0 + gl_Position.w; vIsPerspective = float( isPerspectiveMatrix( projectionMatrix ) ); #endif `;