clipping_planes_pars_fragment.glsl.js 221 B

1234567891011
  1. export default `
  2. #if NUM_CLIPPING_PLANES > 0
  3. #if ! defined( PHYSICAL ) && ! defined( PHONG ) && ! defined( MATCAP )
  4. varying vec3 vViewPosition;
  5. #endif
  6. uniform vec4 clippingPlanes[ NUM_CLIPPING_PLANES ];
  7. #endif
  8. `;