Generate Procedural Mesh

Hi there!

I ended up doing this:

But i have a couple of issues:

The materials are wrong:

Also to dynamicaly update the mesh (add verticies, remove verticies) is there any better alternative with ue4 rhi?

I see FRenderResource object has BeginUpdateResourceRHI but i don’t really understand how to use it or what can i do with this method.