Procedural Terrain Generator v2
Easy and lightweight plugin for procedural terrain generation within the editor, using your own assets.
The Procedural Terrain Generator (PTG) v2 is an editor code plugin that aims to assist the user by procedurally creating terrains with different shaped (plane, sphere or cube) and populate it with thousands of nature meshes (using HISMs) and actors in just a few seconds, using your own assets. It also provides modifiers and other settings that let you create exceptions on the terrain for certain assets generation. For example, you can use trees and grass assets, but configuring the plugin to avoid locating trees in a defined area or height.
Disclaimer:
- It is not designed to generate infinite chunks of map on runtime.
- The generated terrain is not a landscape actor, and therefore it CANNOT be edited with the landscape tool.
- All the assets shown in the gallery and videos are from other asset packs and from the starter content.
- PTG v2 is only available on UE4.26 and beyond.
Technical Details
Main features:
- Procedural terrain mesh creation using different noise algorithms.
- Procedural water mesh creation with height customization.
- 3 different terrain shapes: plane, cube, and sphere
- Tilable terrains (only available on plane terrains).
- Add a ton of nature and actors procedurally located using your own assets choosing between the earth surface, underwater or both.
- Use the modifiers to avoid locating assets in specific places.
- Use the height range to avoid locating assets in different heights.
- Optimize the generated nature by easily tweaking the cull distance of the generated assets.
- Blueprint-friendly library to generate different shapes and use it with the UE4 ProceduralMeshComponent.
- Support to create Static Mesh asset from generated terrain mesh.
- Support to create heightmaps as png images from Plane terrains.
Code Modules:
- FastNoiseLite (Runtime)
- RuntimeMeshComponent v4.1.5 (Runtime)
- ProceduralTerrainGenerator (Runtime)
- ProceduralTerrainGeneratorEditor (Runtime)
Number of core Blueprints: 28
Number of C++ Classes: 3
Supported Development Platforms: All, except iOS, Mac, Android and Win32
Supported Target Build Platforms: All, except iOS, Mac, Android and Win32
Tested on: Windows 10/i7 6700K/GTX 1060/32GB DDR4 Ram