Skip to main content

PCG

When integrating PCG with Errant Paths, it's better to avoid generating content in both systems in parallel. For instance, if your PCG logic spawns foliage based on the landscape shape, PCG should start generating once Errant Paths is finished updating as Errant Paths can be modifying landscape shape or weightmaps in the process. Simultaneous processing can lead to PCG placing foliage based on outdated landscape shape/weightmaps, resulting in foliage being spawned above or below the landscape.

To synchronize PCG updates with Errant Paths, you can enable an option to pause PCG generation during the Path update. Additionally, you can enable clearing existing PCG content before the Path is generated. Synchronization occurs only between the Paths and PCG Volumes that overlap.

  1. Navigate to the Errant Paths Mode
  2. Enable and select the needed option (Don't Pause, Pause or Clean and Generate).

Notice the timing of PCG updates in the video.