Working clipping functionality

This commit is contained in:
Fuhrmann 2025-03-05 09:25:23 +01:00
parent 13be63c40a
commit 20d99b5815
4 changed files with 313 additions and 50 deletions

View file

@ -54,7 +54,7 @@ async function buildMesh(layerData: MappedFeature, clippingPlanes: Plane[]) {
side: DoubleSide,
wireframe: false,
clippingPlanes: clippingPlanes,
clipIntersection: true,
clipIntersection: false,
});
// material.onBeforeCompile = (materialShader) => {