Page cover

Terrain Provider

A bridge component that links a Terrain object to the Flora.

The Terrain Provider component connects a Unity Terrain object to the FloraSystem, enabling Flora to take over tree and detail mesh rendering.

This component is typically added automatically when the SceneSettings singleton is present and Auto Register Terrains is enabled.


Trees

Tree instances are automatically loaded from the terrain when any camera is within the terrain’s treeDistance value.

Terrain tree distance UI

Details

Detail instances (e.g. grass, rocks, debris) are loaded dynamically when a camera is within the terrain’s detailObjectDistance range.

  • When a detail cell goes out of range, it is unloaded after 3 seconds

  • This helps reduce GPU memory usage in large terrain scenes

⚠️ For large environments, keep detailObjectDistance at a reasonable level to avoid unnecessary memory usage.

Unlike Unity’s built-in rendering system, Flora supports detail meshes with LODGroups.

  • If Flora is disabled, Unity will fall back to its built-in rendering

  • However, only the first LOD mesh will be used in that fallback path

Detail mesh preview with LODs

Last updated