View on Asset Store (opens in new tab)
Package details
- Latest version
- 1.1.0
- Last updated
- First released
- Unity version
- 2021.3.16 or later
- Package size
- 3.5 MB
- Files
- 38
- Favorites
- 1,705
- Views in the past week
- 592
Price tracking
- Last checked
- Tracked since
- Lowest recorded
- Free on
Keywords
Vegetation Spawner | FREE - Automatic Tree/Grass Placement
Procedural rule-based vegetation spawner for Unity's terrain system.
Affiliate link · Purchases support this site
Price history
Last 6 months
USDAsset preview
1 / 9
Vegetation Spawner | FREE - Automatic Tree/Grass Placement screenshot 1
About this asset
—————————————— 💖 FREE ASSET ———————————————
🎁 This asset is offered entirely free of charge! Donations are accepted to support development.
If you found this tool helpful, please consider leaving a review or checking out my other assets.
—————————————————————————————————————
📄 Documentation | 🟣 Discord | 💬 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
From the publisher's Asset Store listing.
Technical details
- Uses the built-in vegetation system, so inherents all of its limitations and quircks.
- If a tree prefab fails to spawn no matter what settings you try, this has absolutely nothing to do with this tool. In this case, it won't spawn when manually paiting it either. Prefabs need to be set up to work with Unity's terrain system first. Unity gives no warnings or errors if this isn't the case.
- Respawing operations for grass are typically quite slow. This has everything to do with the outdated data format Unity's terrain uses.
Compatibility
| Unity version | Built-in | URP | HDRP |
|---|---|---|---|
| 6000.0.28f1 | Compatible | Compatible | Compatible |
| 2021.3.16f1 | Compatible | Compatible | Compatible |
This tool doesn't do anything graphics related, so the SRP in use isn't relevant. HDRP only supports grass starting from Unity 2021.2.
[Unity <=2023.2] Demo scene is set up for the built-in RP, but uses standard shaders, so can be converted as instructed by the Unity manual.
[Unity 6+] Demo scene is set up for URP
As listed on the Asset Store.