




Road Generator is a tool for creating fully flexible and customizable road systems in Unreal Engine. It builds on existing landscape splines using PCG and Geometry Script to generate roads directly on Landscape, with procedural control over every component.
Modules
-
RoadTool — Type: Runtime
Plugin Dependencies
These Unreal Engine plugins must be enabled in your project:
-
PCG
-
GeometryScript
-
PCGGeometryScriptInterop
(All are built-in Unreal Engine plugins — no external installation required.)
Optional Third-Party Plugin Dependency
This plugin can also work with PCGEx, but it is completely optional.
If you want to use the PCGEx version of the road generator, install:
PCG Extended Toolkit (PCGEx)
Available for free on Fab.
Note: PCGEx is not bundled with the plugin. It must be installed separately if you choose to use the PCGEx version.
Number of Blueprints: 9
Number of C++ Classes: 4
PCG Subgraphs and Loops: 13
Supported Development Platforms
-
Windows: Yes
-
Mac: No
Supported Target Build Platforms:
-
Same as PCG
道路生成器是一个在虚幻引擎中创建完全灵活且可定制的道路系统的工具。它基于现有的景观样条线,使用 PCG 和几何脚本直接在景观上生成道路,并对每个组件进行程序控制。
模块
-
RoadTool — 类型:运行时
插件依赖项
您的项目中必须启用这些虚幻引擎插件:
-
PCG
-
GeometryScript
-
PCGGeometryScriptInterop
(全部都是内置虚幻引擎插件- 无需外部安装。)
可选的第三方插件依赖
此插件也可以与PCGEx一起使用,但它完全可选。
如果您想使用PCGEx版本的道路生成器,请安装:
PCG扩展工具包(PCGEx)
在 Fab 上免费提供。
注意:PCGEx 未与该插件捆绑在一起。如果您选择使用 PCGEx 版本,则必须单独安装它。
蓝图数量:9
C++ 类数量:4
PCG 子图和循环: 13
支持的开发平台
-
Windows:是
-
Mac:否
支持的目标构建平台:
-
与 PCG 相同
Road Generator Plugin for Unreal Engine
The Road Generator Plugin creates fully customizable, high-performance road systems directly on the landscape in Unreal Engine.
It leverages Landscape Splines, PCG, (and optionally) PCGEx, along with Geometry Script, to deliver a modular, flexible, and fully procedural road generation workflow.
Tutorials and Resources
See how to install, use, and customize the plugin in the YouTube video: Unreal Engine | Road Generator Plugin
PCG Integration
The Road Generator Plugin extends Unreal Engine’s PCG system with a set of custom C++ PCG nodes built specifically for this plugin, providing a more accurate and optimized workflow within the native PCG environment.
Landscape spline data is converted directly into PCG points using a custom node that transfers all necessary details from the splines.
From there, the system automatically generates continuous side splines along both edges of the road using multiple custom C++ PCG nodes.
These side splines act as procedural anchors for additional elements such as sidewalks, guardrails, lane markings, or streetlights.
This system provides:
-
Full procedural control over road width, curve smoothness (with adjustable smoothing), and roadside detail placement.
-
Seamless compatibility with both native PCG and the (optional) PCGEx workflow.
Procedural Road System Includes
-
Decals and lane markings aligned precisely to the road spline.
-
Procedural streetlight pole placement.
-
Dynamic sidewalk meshes generated along road edges.
-
Procedurally tiled sidewalk.
Sidewalk Options
-
Grooved Concrete Sidewalk – A procedural dynamic mesh with a grooved concrete look, generated along the road edges.
-
Tiled Sidewalk System – A modular setup where static mesh tiles are automatically aligned along the sidewalk curve for clean geometry and consistent spacing.
Customization
Since everything is spline-driven, you can easily open the PCG graph to expand or customize the system. add new roadside features, change spacing rules, or introduce custom logic to fit your project.
Versions
The plugin comes with two interchangeable versions offering identical functionality and performance.
You can freely choose which one fits your workflow best.
-
Native PCG Version
-
Uses Unreal’s built-in PCG system with four custom C++ nodes developed specifically for this plugin.
-
Does not require any third-party plugins.
-
Perfect for projects that want to stay fully native to Unreal Engine.
-
-
(Optional) PCGEx Version
-
Uses PCGEx nodes along with the plugin’s built-in C++ nodes.
-
Requires the free PCGEx plugin, which can be installed directly from Fab.
-
Offers the same features and gives access to the wider PCGEx node library for advanced customization.
-
The PCGEx version also offers better performance.
-
Both versions perform identically and generate the same results choose based on your preferred workflow.
PCGEx is completely optional and not required to use or fully enjoy the plugin.
Built on Landscape Splines
At its core, the tool uses Unreal Engine’s Landscape Splines.
Roads are drawn directly on the landscape using landscape layers By Landscape Spline, ensuring seamless blending with the environment and efficient rendering performance.
Key Benefits
-
Flexible Geometry – Supports freeform curves, elevation changes, and dynamic width adjustments with no fixed angles or predefined mesh segments.
-
Landscape Tessellation & Nanite Support – Roads can use Unreal’s landscape tessellation and Nanite for displacement-based detail and high-resolution rendering, enabling small-scale realism like cracks, gravel, and wear patterns without heavy geometry.
-
Direct Landscape Integration – Roads are part of the landscape itself, fully compatible with terrain sculpting, blending, and deformation tools.
-
Material Layering – Uses landscape paint layers to assign and blend multiple materials (asphalt, concrete, dirt, etc.) with full Nanite and tessellation support.
-
No Mesh Overhead – Surface detail comes from materials and displacement, minimizing geometry load for better performance.
Gallery Notes
-
All buildings shown in the gallery were generated procedurally in minutes using the Building Generator tool.
-
Quixel assets are shown for demonstration purposes only and are not included. You can download them from Quixel and instantly apply them to your road system using the plugin’s PCG parameters.
-
The plugin includes simple sample assets that fully support the procedural workflow and can be replaced or extended easily.
Notes
-
For streetlights, enable MegaLights in your Project Settings for better performance.
-
For landscape displacement, enable Landscape Tessellation in your Project Settings and material setup.
-
PCGEx is completely optional the plugin works fully with native PCG.
用于虚幻引擎的道路生成器插件
道路生成器插件直接在虚幻引擎中的景观上创建完全可定制的高性能道路系统。
它利用景观样条、PCG、(和可选) PCGEx以及几何脚本来提供模块化、灵活且完全程序化的道路生成工作流程。
教程和资源
在 YouTube 视频中了解如何安装、使用和自定义插件:虚幻引擎 |道路生成器插件
PCG 集成
道路生成器插件通过一组专门为此插件构建的自定义 C++ PCG 节点扩展了虚幻引擎的 PCG 系统,从而在原生 PCG 环境中提供更准确和优化的工作流程。
景观样条数据直接转换使用从样条线传输所有必要细节的自定义节点将其转换为 PCG 点。
从那里,系统使用多个自定义 C++ PCG 节点自动沿道路两侧生成连续侧样条线。
这些侧样条线充当其他元素(例如人行道、护栏、车道标记或路灯)的程序锚点。
该系统提供:
-
对道路宽度、曲线平滑度(可调节平滑度)和路边细节放置的全面程序控制。
-
与本地 PCG 和(可选) PCGEx 无缝兼容工作流程。
程序化道路系统包括
-
贴花和车道标记与道路样条线精确对齐。
-
程序化路灯杆放置。
-
沿道路生成动态人行道网格
-
程序化平铺人行道。
人行道选项
-
凹槽混凝土人行道 – 沿道路边缘生成的具有凹槽混凝土外观的程序动态网格。
-
平铺人行道系统 – 模块化设置,其中静态网格图块自动沿着人行道曲线对齐,以实现干净的几何形状和一致的间距。
自定义
由于一切都是样条驱动的,因此您可以轻松打开 PCG 图形来扩展或自定义系统。添加新的路边功能、更改间距规则或引入自定义逻辑以适合您的项目。
版本
该插件附带两个可互换版本,提供相同的功能和性能。
您可以自由选择最适合您的工作流程的版本。
-
原生 PCG版本
-
使用Unreal的内置PCG系统以及专门为此插件开发的四个自定义C++节点。
-
不需要任何第三方
-
非常适合想要完全原生地使用虚幻引擎的项目。
-
-
(可选)PCGEx版本
-
使用 PCGEx 节点以及插件的内置 C++ 节点。
-
需要免费的 PCGEx 插件,可以直接从 Fab 安装。
-
提供相同的功能,并可以访问更广泛的 PCGEx 节点库以进行高级定制。
-
PCGEx 版本还提供更好的性能。
-
两个版本的性能相同并根据您喜欢的工作流程生成相同的结果。
PCGEx 完全是可选,不需要使用或完全享受该插件。
基于景观样条线构建
该工具的核心使用虚幻引擎的景观样条线。
使用景观直接在景观上绘制道路图层通过景观样条线,确保与环境无缝融合并实现高效的渲染性能。
主要优点
-
灵活的几何图形 – 支持自由曲线、标高变化和动态宽度调整,无需固定角度或预定义网格段。
-
景观镶嵌和 Nanite支持 – 道路可以使用虚幻的景观细分和 Nanite 进行基于位移的细节和高分辨率渲染,无需繁重的几何图形即可实现裂缝、砾石和磨损图案等小规模真实感。
-
直接景观集成 – 道路是景观本身的一部分,与地形雕刻、混合和变形工具完全兼容。
-
材质分层 – 使用景观涂料层来分配和混合多种材质(沥青、混凝土、污垢等),并具有完整的 Nanite 和镶嵌支持。
-
无网格开销 – 表面细节来自材质和位移,最大限度地减少几何负载以获得更好的性能。
图库注释
-
图库中显示的所有建筑物都是使用建筑生成器工具在几分钟内生成的。
-
Quixel 资产仅用于演示目的,不包含在内。您可以从 Quixel 下载它们,并使用插件的 PCG 参数立即将它们应用到您的道路系统。
-
该插件包含完全支持程序工作流程的简单示例资源,并且可以轻松替换或扩展。
注释
-
对于路灯,启用MegaLights在您的项目设置中获得更好的性能。
-
对于景观置换,请在项目设置和材质设置中启用景观镶嵌。
-
PCGEx 完全可选该插件与原生完全兼容PCG。

评论(0)