This tool is a work in progress procedural road system designed to avoid the need for manual 3D road modeling/mapping.
The road layout is controlled by an editable spline, allowing you to easily adjust curves position and direction to fit your environment. No premade road model is required, the shape of the road is automatically generated using customizable parameters. (Width, Material, ...)
This system also procedurally handles sidewalks, decals, and streetlights placement, removing the need to manually place props along the road. All elements adapt dynamically based on the road’s configuration.
NOTE: Assets shown in some of the screenshots/videos (e.g. Models, Materials, Textures...) are not featured with this repository
RoadToolDemo.mp4
- General features & Optimization
- Road generation
- Road lanes
- Sidewalk along the road
- Road surface decals
- Lampposts auto generated along the road
- Road surface physics
- Road terrain
- Road terrain sidebar
I really recommend using a triplanar shader for the road texture otherwise you will still face some issue with "seems" at some places when using a standard shader.
Example:
The sidewalk texture can be just a regular seamless texture, however if you want to use a sidewalk texture with an actual sidewalk border, here is how it should be setup for the border to face the road properly:
Demo:
Demo (With a proper texture):
- Facepunch (Spline Tools was a useful resources to start making this tool)














