Vegetation Spawner
Procedural rule-based vegetation spawner for Unity's terrain system.
by Staggart Creations
★★★★ star rating
Price History +
📄 Documentation | 💬 Forum thread
A straightforward but powerful procedural vegetation spawner for Unity's terrain system. Allowing a terrain to be quickly populated with vegetation, without spending days on painstaking manual painting.
Works with any other asset that uses the built-in vegetation system such as Nature Renderer or GPU Instancer.
Rule-based spawning
- Probability %
- Seed
- Height range
- Slope range (0-90°)
- Curvature range (convex/concave)
- Water level rejection
- Terrain layer masking
- Collider rejection
Features
- Multi-terrain support
- Can be executed at runtime
- Precomputed scene collider checks, avoids spawning inside colliders
- C# extension functions for various tree related processes.
Trees are defined as "species" and can have a number of prefabs, each with their own spawn chance. This allows variants of the same tree to be spawned with one rule set. Spawn points for the same species will never overlap!
Limitations
- Not equipped for biomes or region-specific spawning
- Manually painted vegetation will be overwritten when respawning
Free of charge as a gift to kickstart new or existing projects :)