Terrain editing in runtime

I’ve this at work so I can’t just share the source. I can give advice and support if needed.