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

5 lines
141 B
Plaintext
Raw Normal View History

2018-12-25 13:59:22 +00:00
#if NUM_CLIPPING_PLANES > 0 && ! defined( PHYSICAL ) && ! defined( PHONG ) && ! defined( MATCAP )
vViewPosition = - mvPosition.xyz;
#endif