Has anyone successfully clipped troika-three-text for threejs using clipping planes?
I'm having trouble getting it to work.
import { Text } from 'troika-three-text'
const minClippingPlane = new THREE.Plane(new THREE.Vector3(0, -1, 0), 1)
const maxClippingPlane = new THREE.Plane(new THREE.Vector3(0, -1, 0), 1)
const text = new Text()
text.text = "Hello"
text.material.clipPlanes = [minClippingPlane, maxClippingPlane]
text.material.clipIntersection = true