Skip to content

Procedural generation in Unity, using the wave function collapse algorithm

Notifications You must be signed in to change notification settings

guillemsrr/WFCourse

Repository files navigation

final pipes

WFCourse

This repository is properly tagged in case you'd like to follow its development step by step.

The first approach of the algorithm is a simple example of terrain adjacencies (sea, beach, valley, mountain) made of cubes.

terrain example

Having developed this simple example, we approach a more complex system featuring 3D modules, constraints and backtracking.

pipes example

And create a UI button in a different scene (following Scriptable Objects event channels pattern), and implement a simple orbital camera.

pipes with Generate button