City Generator
The City Generator is an all-in-one procedural solution designed for high-performance urban environment creation in Unreal Engine. Built by combining and significantly evolving our previous Road Generator and Building Generator, this tool was developed specifically to handle the complexities of full-scale city generation with a massive leap in performance and realism.
Tutorials and Resources
A demo of generating 6,000 buildings
OpenStreetMap Integration
Designed for maximum realism in Unreal Engine by utilizing real-world data; easily import and generate entire cities directly from OpenStreetMap (OSM).
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. The plugin also includes multiple examples of modular building meshes to help you get started quickly. You can also use your own custom meshes to tailor buildings to your specific requirements and achieve the desired aesthetic.
Roof Types and Specific Features:
Flat Roofs:
Utilize dynamic meshes optimized for low triangle counts, ensuring efficiency and precise shape control.
Adjustable parameters include outset, inset, vertical offset, material selection, and UV scale, allowing for detailed customization.
Hipped and Gable Roofs (Pitched roofs):
Both roof types are generated procedurally and offer advanced customization options.
Hipped Roof: All sides slope downward.
Gable Roof: You can choose which sides to become a triangle wall between intersecting roof pitches. or with other gable option using PCGEx all sides that align or perpendicular with the front side of the building can be gable wall
For both Hipped and Gable you can choose to use a material on a dynamic mesh or spawn roof tiles static meshes.
Materials: Select from a variety of materials to give each roof a unique appearance.
Tiles as Static Meshes: Spawn individual roof tiles as static meshes arranged in a grid layout, matching the typical pattern of real roof tiles. with Nanite handling Instanced meshes efficiently, you achieve high performance without compromising visual quality.
Control Over Gable Sides: Choose which sides of the building with gable walls, providing additional design flexibility.
Automatic Gable Roof: The tool detects the side the building is facing and creates gable sides based on it.
Zero Repetition
Each building is unique, featuring its own shape, kit of meshes, colors, and roof type. Whether using procedurally generated footprints or shapes imported from OSM data, this variety ensures that every part of the city is distinct and free from repetitive patterns.
Road System & Performance
Landscape Spline Integration: Roads are built directly on top of landscape splines, which maximizes performance by removing the need for additional road meshes.
Nanite Landscape Tessellation: This approach allows for the use of Nanite landscape tessellation, enabling high-detail displacement for the asphalt aggregate and textures while maintaining efficiency.
Hybrid Workflow & Performance
Multi-Method Implementation: All features are recreated using multiple approaches, including PCG, Geometry Script, PCGEx, and C++. This gives you the choice to switch between them to test and optimize your performance.
Expanded Native Features: Features that were previously only available via PCGEx are now built directly into the tool, though the PCGEx approach is still kept as an option to provide more choices and ways to explore your generation ideas.
Automatic Driveways
The tool automatically generates and places driveways to create seamless connections between the roads and the buildings.