Easy Asset Search

Vegetation Spawner

Procedural rule-based vegetation spawner for Unity's terrain system.
Vegetation Spawner Asset Image Procedural rule-based vegetation spawner for Unity's terrain system.

* This page contains affiliate links, meaning we may earn a small commission if you purchase something through them, at no extra cost.
FREE
Category:
ToolsTerrain
Developer:
Staggart Creations
Price:
FREE
Rating:
(48 reviews)
Favorites:
1331
Supported Unity Versions:
2021.3.16 or higher
Current Version:
1.1.0
Download Size:
3.54 MB
Last Update:
Nov 27, 2024
Description:
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 :)
Technical Details:
Uses the built-in vegetation system, inheriting all of its limitations and quirks.

If a tree prefab fails to spawn, it's not related to this tool. The issue lies with the prefab not being set up to work with Unity's terrain system. Unity may not provide warnings or errors in this case.

Respawning grass operations can be slow due to Unity's outdated terrain data format.
Continue »

Similar Packages