I’m creating surface mesh from a sphere with csg functions, and i want to filter the vertex data to get the surface part.
I made it, but the surface is not smooth like it before, have i lost something with vertex data?
Smooth but has other mesh faces: https://playground.babylonjs.com/#07QQ27#2

Only surface but not smooth: https://playground.babylonjs.com/#07QQ27#3

The difference is at line 413 to 417(filter the mesh or not).
PS: Ignore the ugly filterMesh function part, cause i’m still researching. ![]()