Vegetation Spawner | FREE - Automatic Tree/Grass Placement 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

by Staggart Creations (opens in new tab)

4.5 / 5 · 56 ratings

Ratings by stars
Number of ratings for each star rating
5 stars 41
4 stars 6
3 stars 5
2 stars 2
1 star 2

Procedural rule-based vegetation spawner for Unity's terrain system.

Price Free

Get it free on Asset Store (opens in new tab)

Affiliate link · Purchases support this site

Price history

Last 6 months

USD
Price history for Vegetation Spawner | FREE - Automatic Tree/Grass Placement, 6 months Current Free; lowest Free; highest Free in this period. $0 Jun Jul Aug Sep Oct Nov

Asset preview

1 / 9

Vegetation Spawner | FREE - Automatic Tree/Grass Placement screenshot 1

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

Render pipelines supported in each Unity version
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.