I open sourced the Straight Skeleton algorithm we use in
@dungeonalchemist.com to generate the roofs. It's a very complex algorithm that took a long time to get right, so I'm very happy to share it with the world!
If you need procedural roofs in Unity, check this out.
github.com/Briganti-Gam...