Hello again,
I feel as though this problem is simple but I am missing something. After I update my model’s material the clipping plane no longer has any effect on it. The clipping plane was affective before the change but after the material would not clip.
if (soloObj.current && soloObj.current.mesh) {
const newMaterial = new THREE.MeshBasicMaterial({
color: color,
clippingPlanes: clippingPlane,
clipIntersection: true,
});
// Apply the new material to the selected object's mesh
soloObj.current.mesh.material = newMaterial;
// Update the scene to reflect the changes
soloObj.current.mesh.material.needsUpdate = true;
}