fireball/lib/renderers/shaders/ShaderChunk/clipping_planes_pars_fragment.glsl
2018-12-25 17:29:22 +03:30

10 lines
201 B
GLSL

#if NUM_CLIPPING_PLANES > 0
#if ! defined( PHYSICAL ) && ! defined( PHONG ) && ! defined( MATCAP )
varying vec3 vViewPosition;
#endif
uniform vec4 clippingPlanes[ NUM_CLIPPING_PLANES ];
#endif