I've just started using Three.js and I've had a few issues, I have a 3d object where I am using local clipping planes to shape to a degree.
But as 3d objects are "hollow" only the outer surfaces are rendered, when something is clipped we can see into the shape and see the back of it. Example, You can see inside the tubes https://i.stack.imgur.com/yfqeO.png
I would like to have these holes capped. Based on this issue, it seems that the best way to accomplish this is to create a surface over the clipped region, thus capping the hole and making the object appear like it isn't hollow. But I'm not sure how to go about this.
This is just using the base code from the examples https://threejs.org/examples/ .
What I would like to achieve https://i.stack.imgur.com/rmb50.png