UNPKG
utk-render
Version:
latest (1.0.2)
1.0.2
1.0.1
1.0.0
FiveM Realtime GameView for HTML
github.com/felipecoder/utk_render_npm
felipecoder/utk_render_npm
utk-render
/
src
/
module
/
renderers
/
shaders
/
ShaderChunk
/
clipping_planes_pars_fragment.glsl.js
12 lines
(8 loc)
•
231 B
JavaScript
View Raw
1
2
3
4
5
6
7
8
9
10
11
12
export
default
/* glsl */
`
#
if
NUM_CLIPPING_PLANES > 0
#
if
! defined( PHYSICAL ) && ! defined( PHONG ) && ! defined( MATCAP )
varying vec3 vViewPosition;
#
endif
uniform vec4 clippingPlanes[ NUM_CLIPPING_PLANES ];
#
endif
`;