I want to make a clipping plane in react three fiber. I want this building to be cut a specific part from the top in condition and reset again on condition. How I can do this? I’m using react three fiber.
I found example here but don’t know how would I do in r3f?