HomeUnreal EngineProcedural Foliage Generation
CompleteUE 5.8

Procedural Foliage Generation

UE5 · PCG Framework · Landscape Layers · HISM

UE5PCGFoliageLandscapeHISMEnvironment

A runtime foliage scatter system built on UE5's Procedural Content Generation framework. Density, species mix, and clustering are driven by landscape layer weights and biome curves, with Hierarchical Instanced Static Mesh batching keeping draw counts low even at extreme densities.

Scatter Pipeline

Scatter runs as a PCG graph keyed to landscape layer weights. A sampling pass reads the landscape paint data and emits candidate points at a configurable density per layer. A filter pass discards points outside per-species slope and altitude bounds. A cluster pass biases nearby points toward dominant species using a weighted neighbour lookup, producing natural meadows and stands rather than uniform noise.

// Key Features

  • PCG graph-based scatter driven by landscape layer weights and slope / altitude filters
  • Biome curves for species mix transitions — meadow to forest to alpine
  • Hierarchical Instanced Static Mesh batching for low draw-call cost at high density
  • Cluster shaping via Poisson-disk + jittered-grid hybrid for natural grouping
  • Runtime regeneration on landscape edits — no manual repainting required

// Project Info

Engine
UE 5.8
Status
Complete
Category
Unreal Engine