fireball/lib/renderers/shaders/ShaderChunk/clipping_planes_pars_fragment.glsl

10 lines
201 B
Plaintext
Raw Normal View History

2018-12-25 13:59:22 +00:00
#if NUM_CLIPPING_PLANES > 0
#if ! defined( PHYSICAL ) && ! defined( PHONG ) && ! defined( MATCAP )
varying vec3 vViewPosition;
#endif
uniform vec4 clippingPlanes[ NUM_CLIPPING_PLANES ];
#endif