Latest news
Unreal Engine Lumen Settings: A Guide to Lighting and Reflections in Architectural InteriorsIntel Nova Lake-S spotted in tests with 28 cores and 5.2 GHzCreating Architectural Videos with Veo 3.1: From Prompt to ScenePreparing Lightmap UVs from Blender to Unreal Engine: A Step-by-Step GuideCADQuader beta launches: converts STEP and IGES files to quad meshesPreparing Architectural Sheets in Rhino 8: Layout, Detail and PDF GuideArchitectural Image Creation with Images 2.6: From Prompt to Controlled RevisionsThéâtre Royal de Rabat completed: A design inspired by the Bouregreg riverbankTransfer a USD Scene from Blender to Unreal Engine: Step-by-Step GuideInkling 2 Mini released: Recursive architecture focuses on local use
TutorialsUnreal Engine

Procedural Environment Generation Across Large Landscapes with Unreal Engine PCG

Unreal Engine’s PCG toolset makes it possible to procedurally create environment assets and expansive landscapes. This guide walks through grid partitioning, generation at different scales and runtime settings.

Contemporary building surroundings with trees and vegetation at different scalesAI image
Representative image, generated with AI.Image: 3dsınıfı / FCA AI

In brief

  1. PCG is a toolset for creating procedural content and tools in Unreal Engine.
  2. Partitioned generation distributes data across large areas into designated grid cells.
  3. Hierarchical generation can use different grid scales for assets of different sizes.
  4. Runtime generation can create PCG components near sources and clean them up as they move farther away.

What will you learn in this guide?

Unreal Engine’s Procedural Content Generation (PCG) framework is a toolset that helps artists and designers create procedural content and build iterative generation tools. Epic Games’ documentation explains that PCG can be used for everything from assets such as buildings and biomes to larger virtual worlds. In this guide, you’ll learn how to partition a generation area in an environment scene, handle assets at different scales with separate grid settings, and test runtime generation in the viewport.

The steps below use an existing Unreal Engine project and PCG asset. The aim is not to promise a particular visual quality or performance outcome, but to show which settings can be used to control different generation methods.

Requirements and scope

To follow these steps, you’ll need an Unreal Engine project in which you can work with PCG assets. The source documentation doesn’t specify hardware requirements, account conditions or a single version that applies to every step. Accordingly, this guide makes no hardware recommendations or claims about compatibility with newer versions.

The documentation includes a note specific to Unreal Engine 5.5: The addition of the HiGen Grid Size Exponential feature in this version increased the relative importance of Direction Weight in the runtime scheduling policy. It notes that this weight may need to be reduced in content created in older versions. This doesn’t mean you must make a change in every project; it’s a warning to check how existing content behaves.

Step-by-step PCG generation

  1. Separate scene assets by scale. Think of larger assets such as trees and rocks separately from smaller details such as grass, flowers and stones. Epic’s example shows trees, grass and other ground cover distributed across a sloped area. This separation is a useful starting point for generating assets at different grid sizes in later steps.

  2. Enable partitioning for large areas. Select the PCG asset in the level and enable Is Partitioned in the Details panel. The default, unpartitioned generation can be used for small PCG assets; assets covering large areas may encounter performance issues. Partitioning distributes generated data across designated grid cells and can help support streaming with systems such as World Partition or Level Instancing.

  3. Set the grid size and regenerate the result. Select PCGWorldActor in the Outliner and edit the Partition Grid Size value. Then select the PCG assets in the level, run Cleanup in the Details panel, and regenerate the result using the Generate button. This is the sequence described in the documentation after changing the grid size.

  4. Enable hierarchical generation. Open Graph Settings in the PCG graph, enable Use Hierarchical Generation, and choose a value for HiGen Default Grid Size. The PCG components in the level must be partitioned to use this method. So, check that Is Partitioned was enabled in the previous step.

  5. Assign different grid sizes to specific graph branches. In the graph branch whose scale you want to control separately, add a Grid Size node before the sampler node. Change the node’s HiGen Grid Size setting. Larger assets are generally less dense, so they can use larger grids; smaller, more common assets can be handled on smaller grids. Data downstream of the Grid Size node uses this size. Branches without the node use the HiGen Default Grid Size setting. Save the graph and regenerate the result in the scene.

  6. Enable runtime generation and test it. In the PCG asset’s Details panel, change Generation Trigger to Generate at Runtime. To test this in the viewport, select PCGWorldActor in the Outliner and confirm that Treat Editor Viewport as Generation Source is enabled. This setting lets you observe generation around the viewport.

  7. Adjust generation and cleanup distances. In the PCG graph settings, open Runtime Generation > Generation Radii and set radii corresponding to the grid sizes. Cleanup Radius Multiplier is used to determine the distance at which cleanup occurs when a component moves away from a generation source’s area of influence. The documentation advises against setting the generation radius of smaller grids wider than that of larger grids, and recommends increasing the radii as grid scale increases.

Common mistakes and checkpoints

If hierarchical generation won’t enable, first check that the PCG components are partitioned. The documentation also recommends placing the Grid Size node before the sampler; trying to change the scale after the sampler doesn’t match the setup sequence described in the documentation.

When points created on a large grid are also used on smaller grids, the same position data can be carried into multiple small cells. This duplication can unnecessarily increase scene data and generation workload. The Cull Points Outside Actor Bounds node can be used to filter out points that fall outside the boundaries of a small grid cell.

If you don’t want a sampler to rescan a large volume in every grid cell, consider the Unbounded grid size. This option lets relevant nodes run once without grid constraints; a grid boundary can then be reapplied in later stages with a Grid Size node. Whether Unbounded is appropriate depends on the generation flow in the graph.

The Use Frustum Culling option can reduce the generation of components that aren’t visible during runtime generation. Generate Bounds Modifier and Cleanup Bounds Modifier let you adjust when components are generated or cleaned up before they enter the field of view. The Cleanup value must not be lower than the Generate value. If older content behaves differently than expected, also keep in mind the note about Direction Weight in Unreal Engine 5.5.

Impact on architecture and visualization workflows

These PCG features may be useful to architecture teams, interior designers and archviz artists who want to manage vegetation, rocks and similar environment assets at different scales across large landscape areas. Generating larger and smaller assets at different grid sizes means you don’t have to apply the same generation approach to every detail. Runtime generation also offers a way to create components near sources and clean them up as distances change.

This approach doesn’t automatically improve performance. Grid sizes, generation radii and point data carried into smaller cells should be checked under the conditions of each scene. The sources don’t specify hardware requirements, licensing costs or compatibility across all Unreal Engine versions. So, before including PCG in a project, verify the applicable licensing and version conditions separately.

Next steps

Once you’ve set up a basic generation workflow, you can explore the GPU Processing, Shape Grammar, PCG Biome and runtime debugging sections in Epic’s PCG documentation. To take a closer look at the behavior of the runtime generation scheduler, the pcg.RuntimeGeneration.EnableDebugging command enables detailed logging.

The pcg.RuntimeGeneration.NumGeneratingComponents setting can be used to limit the number of PCG components generated at the same time. The source says that this setting helps limit CPU usage; a lower value can also change the visible effects of distance and direction weights. So, when adjusting the setting, observe not only the total generation time but also which components are generated first in the scene.

Source and licensing

This guide is adapted from Epic Games’ official Unreal Engine documentation, Procedural Content Generation Framework and Using PCG Generation Modes. These documents are marked as “free” in the source records; since no specific license name is provided, no license type is specified here.

Sources

2 sources
D
dev.epicgames.comdev.epicgames.com/documentation/en-us/unreal-engine/procedural-content-generation-framework-in-unreal-engine
Summary
D
dev.epicgames.comdev.epicgames.com/documentation/en-us/unreal-engine/using-pcg-generation-modes-in-unreal-engine
Summary

Source texts are not republished; short quotes are marked, everything else is our own summary and commentary.

3dsınıfı’s take
3dEditor’s assessment

PCG’s practical value for architecture and archviz teams lies in its ability to manage environment assets of different scales and their generation distances separately across large scenes. In outdoor environments with many repeated assets such as vegetation and rocks, hierarchical grids and runtime generation provide a controlled space for experimentation.

However, these settings alone don’t guarantee faster results. For offices and students in Turkey, the most sensible starting point is to test a small area in an existing project and observe the grid sizes and generation radii. Since the sources don’t clarify hardware, licensing costs or version compatibility, these conditions should be checked separately before making an investment or project decision.

Frequently asked questions

How do you enable hierarchical generation in Unreal Engine PCG?

In the PCG graph’s Graph Settings, enable Use Hierarchical Generation and set HiGen Default Grid Size. PCG components must be partitioned for hierarchical generation.

Can environment assets of different sizes be generated on different grids in PCG?

Yes. The HiGen Grid Size setting on a Grid Size node added before the sampler can set the generation scale for that graph branch.

How do you enable runtime generation in Unreal Engine PCG?

In the PCG asset’s Details panel, change Generation Trigger to Generate at Runtime. To test in the viewport, enable Treat Editor Viewport as Generation Source on PCGWorldActor.

Comments and the forum are in Turkish.Join the discussion
+

Related news