Procedural Building Generator
Introducing a comprehensive building generator, utilizing procedural content generation (PCG) and advanced custom nodes. This tool enables the creation of fully procedural buildings efficiently, allowing for rapid generation of complete structures.
Compatible with Megascans Modular Building Meshes
The generator is designed to work seamlessly with Megascans modular building meshes from Quixel, providing a wide variety of realistic assets to use. You can also import your own custom meshes to tailor buildings to your specific requirements and achieve the desired aesthetic.
Flexible Roofing Options: Flat, Hipped, and Gable Roofs
Our procedural building generator offers a variety of roofing styles to suit any architectural vision. All roof types come with adjustable parameters for dimensions and height, giving you precise control over the shape and size to match your design needs.
Common Features Across All Roof Types:
Dimensions and Height Controls: Customize the size and elevation of your roofs to achieve the exact proportions you desire.
Materials: Choose from a range of materials to personalize the look and feel of your roofs, adding unique styles and textures to each building.
Roof Types and Specific Features:
Flat Roofs:
Utilize dynamic meshes optimized for low triangle counts, ensuring efficiency and precise shape control.
Adjustable parameters include offset, inset, vertical offset, material selection, and UV scale, allowing for detailed customization.
Hipped and Gable Roofs:
Both roof types are generated using geometry scripts and offer advanced customization options.
Materials: Select from a variety of materials to give each roof a unique appearance.
Tiles as Static Meshes: Optionally sample the dynamic mesh in PCG to spawn individual roof tiles as static meshes. Each tile is instanced separately, and with Nanite handling these efficiently, you achieve high performance without compromising visual quality.
Gable Roof Specifics:
Control Over Gable Sides: Choose which sides of the building feature gable walls, providing additional design flexibility.
Unlimited Building Shapes with Spline-Based Design
The tool employs splines to define the building's shape, allowing for the creation of structures without limitations on complexity. Even the most intricate shapes are successfully generated, including complex roof configurations, all processed automatically in less than a second.
Adjustable Building Height
Set the building's height with a single parameter, and the tool will accommodate as many floors as possible within the specified dimension. This feature enables quick adjustments and the ability to add numerous floors efficiently.
Real-Time Performance and Ease of Use
The procedural building generator is built for speed and responsiveness. Entire buildings are generated in less than 0.2 seconds, delivering instant results even for complex structures. Every adjustment whether changing height, shape, or assets updates in real time, allowing you to iterate quickly and see results immediately.
This high level of performance ensures a smooth workflow, enabling artists and developers to focus on creativity rather than waiting for lengthy computations.
Detailed Control Over Building Elements
Gain extensive control over specific modules such as walls, windows, doors, trims, and corners. Adjust placement, scale, and rotation with ease, allowing for precise customization to meet your project's needs.
Dependencies:
Procedural Content Generation Framework (PCG) Geometry Script Interop
Procedural Content Generation Framework (PCG)
Geometry Script
Tutorials and Resources
- Usage Tutorial: For a comprehensive guide on how to use this tool, please watch the tutorial here: Unreal Engine 5.5 - Building Generator
- Development Insights: Explore multiple tutorials on the creation of this tool on my YouTube channel: Yazan Hanna. These resources provide deeper insights into the techniques and processes involved.
Gallery Notes:
Quixel assets are shown for demonstration purposes only and are not included. You can download them from Quixel and instantly apply them to your Buildings using the plugin’s PCG parameters.
All Roads shown in the gallery were generated procedurally in minutes using the Road Generator tool.
The plugin includes simple sample assets that fully support the procedural workflow and can be replaced or extended easily.
---
This procedural building generator enhances your workflow in Unreal Engine by providing efficient, flexible, and detailed building creation capabilities. Ideal for developers and artists seeking to streamline their design process while maintaining full control over building aesthetics and performance.