Disable shadows for clipping plane

This commit is contained in:
2026-04-17 18:12:08 +02:00
parent 337bcce0bb
commit 7a6e084a97

View File

@@ -18,6 +18,9 @@ function createClippingPlaneMesh (boundingSphere) {
new THREE.MeshBasicMaterial({ color: 0xffff00, opacity: 0.05, side: THREE.DoubleSide, transparent: true }) new THREE.MeshBasicMaterial({ color: 0xffff00, opacity: 0.05, side: THREE.DoubleSide, transparent: true })
); );
mesh.castShadow = false;
mesh.receiveShadow = false;
return mesh; return mesh;
} }