Take separate mesh materials and vertices textures and clip them then put into one mesh?

It sounds complicated but I’ve got this idea for taking separate meshes then clipping them and putting the vertices and texture coordinates into a single mesh.

I have problems doing this with a shader but it is perfect clipping in script.

All I need is some way to combine the meshes into one mesh after clipping.

I am using graphics draw mesh and I was hoping there could be a way to get submeshes after clipping and then render them.

You have to do this with the Mesh / MeshData API. A shader doesn’t alter a mesh’s geometry, it just doesn’t render parts of it. Thus you can’t save whatever mesh the shader rendered as a new mesh.