Here is a tool I'm currently working on for a personal project. Before converting my scene into a PDG pipeline for Unity, I thought I would share my progress here. This tool takes a greybox model as an input and converts it to a terrain mesh. It also bakes a basecolor and a normal map.
output mesh