three.js
three.js copied to clipboard
WebGPURenderer: hardware clipping support.
Use WebGL 'WEBGL_clip_cull_distance' and WebGPU 'clip-distances' extensions if available for clipping where possible (not using intersections or alphaToCoverage and max 8 clipping planes).
Tested with WebGL, (WebGPU support not available to test).