Closing ExtrudeShapeCustom

Good morning,
I am using the ExtrudeShapeCustom function to create a prism with a complex base. Is there any way to create the top and bottom base so that the inside of the ExtrudeShapeCustom is not visible, or do I have to do it with another MeshBuilder?
I attach a playground with the an example of ExtrudeShapeCustom.

You can use the cap: BABYLON.Mesh.CAP_ALL option:

2 Likes

It works, thanks you!! :slight_smile: