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

5 lines
141 B
GLSL

#if NUM_CLIPPING_PLANES > 0 && ! defined( PHYSICAL ) && ! defined( PHONG ) && ! defined( MATCAP )
vViewPosition = - mvPosition.xyz;
#endif