Thanks! It's been a while so I don't recall exactly, but I believe it's marching cubes to generate a mesh based on some noises. Tho I think there are better ways to do that, it did work great. You can check the source code here if you want more details: https://github.com/AntoineCollot/PinguinManagement/tree/master/Assets/Scripts.