A versatile and optimized building generator created for the game Urban Nightmares, available on the Nintendo Switch and Steam. The wall kit used in the generator was created by Awani Shelke (https://www.artstation.com/awani_27), and the textures were provided by Elaine Tanaka (https://www.artstation.com/elainetanaka).
My main goal for this tool was to make it compatible both with the limitations of the Nintendo Switch and the non-uniform geometry of our games aesthetic. The base of the tool is the building from patterns node in Houdini, but with a lot of custom functionality to make the tool optimized for Unreal Engine 4. For example, the tool randomly selects between red, green, and blue vertex paints on every wall piece to add variation as part of a shader in Unreal Engine. There is also an option to simplify the geometry below or above a user-defined threshold to reduce polygons on areas of the building far from the player. In addition to optimization I had to create a variety of custom procedural roof geometry that wouldn't break when applied to non-uniform planes. Achieving this was challenging and required a lot of creative solutions, for example finding a way to avoid placing fences on lower roofs that would be adjacent to a wall. Overall while I would like to continue improving this tools efficiency, I'm very happy with how robust it is even with very unconventional input geometry and was able to use it to procedurally create the bulk of our game's environment in a matter of weeks.