UNPKG

three

Version:

JavaScript 3D library

12 lines (8 loc) 231 B
export default /* glsl */` #if NUM_CLIPPING_PLANES > 0 #if ! defined( PHYSICAL ) && ! defined( PHONG ) && ! defined( MATCAP ) varying vec3 vViewPosition; #endif uniform vec4 clippingPlanes[ NUM_CLIPPING_PLANES ]; #endif `;