Procedural Environment Generator (WFC)

Wave Function Collapse algorithm for procedural environment generation

Category:
Tags: , , , , , , ,

Description

Generate 3D or 2D environments (game levels, buildings, etc.) with Wave Function Collapse algorithm.

Set the cubic (or rectangular parallelepiped) nodes and connection rules for them inside the Blueprint preview window and press the Generate button to automatically form a level.

Use one of many Blueprint functions like Generate Meshes Async to generate and spawn your static meshes or custom Blueprints in Runtime. You can set different constraints and append your level in runtime allowing you to create infinite levels.

Documentation

Playlist with tutorials

Twitter

Discord server

Buildings from the screenshots were generated with this example project, to work it requires free modular building set. The yellow stairs example could be found directly in the Content of this plugin.

The latest

Technical Details

Code Modules:

Number of Blueprints: 2

Number of C++ Classes: 5 UCLASS, 2 UENUM, 3 USTRUCT, 20 plain C++ classes/structs

Network Replicated: Yes

Supported Development Platforms: Win64, Win32, Linux, Mac

Supported Target Build Platforms: Win64, Win32, Linux, Mac

Documentation: Readme.md

Supported Engine Versions

4.24 – 4.27, 5.0 – 5.2