Prepare terrain and suitability
- In your terrain graph, add Trees and Shrubs to the final terrain path, after terrain-shaping work. Connect their terrain outputs onward to Terrain Output so their suitability fields reach the final result.
- Adjust their population and habitat settings as needed. Add Biome assignments if you want biome weights available to your PCG graph.
- Generate the region you want to populate. PCG placement operates on loaded selected regions, not the preview.
Trees and Shrubs create suitability data, not tree or shrub actors. If their fields are missing, the PCG source reports that condition; Land points remain available.
Create or edit a PCG graph
- In the Unreal editor console, run Eonform.PCG.CreateVegetationStarter. It creates /Game/EONFORM/PCG/PCG_EONFORM_VegetationStarter and refuses to overwrite an existing asset.
- Open the starter PCG graph. Its EONFORM Region Data node provides Trees, Shrubs and Land point outputs, each connected to an editable mesh-spawner branch.
- Assign your own tree, shrub and ground-cover meshes to the spawners. The starter mesh lists are empty; it will not produce vegetation until suitable meshes are assigned. Save the PCG graph.
The Region Data node exposes separate sample-spacing controls in metres and a minimum suitability. Its point metadata includes tree and shrub suitability, dominant biome index and weight, and per-biome weights.
Run it on a region
- In Terrain Output → Biome PCG Placement, enable Biome PCG spawning and assign your PCG Graph.
- Select loaded terrain regions and choose Spawn Biome PCG. Alternatively, enable Spawn Biome PCG after generation before using Generate Selected.
- Inspect the result, tune the graph or suitability settings, and rerun. Rerunning replaces the EONFORM PCG resources for those regions; unloading a region cleans up its EONFORM PCG resources.
The source uses the current committed region and requires a matching final plan and valid water data or a supported regional recipe. Unsupported or stale inputs are reported rather than triggering a new full-world solve. Actual placement quality remains a manual check.