UNPKG

three

Version:

JavaScript 3D library

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