Problem with a polyhedron

Good afternoon
I don’t understand why in my script https://playground.babylonjs.com/#PBLS4Y#797 in the front and back faces, two black triangles are added. Could you give me a hand?
Greetings and thanks

Hi @simone welcome to the forum!
The indices order is not correct.
Here is the result when fixing index order of 1st polygon:

Hi @Cedric, thanks a lot for the tip.

1 Like