Skip to content

MichaelEGA/TerrainTools

Repository files navigation

TerrainTools

Set of tools that allows you to quickly create a unity terrain. The tools are useful for quickly setting up a terrain which you can then perfect and modify using unity's terrain tools. Some knowledge of how Unity Terrain works is recommended.

Get it here: https://github.com/MichaelEGA/TerrainTools

Tested In: Unity URP 6000.1.0b3

Version History
12/02/2025 - Initial Commit

Tools

  • Image to Heightmap, applies a greyscale image as a heightmap to the selected unity terrain
  • Terrain Splatmap Painter, procedurally paint a splatmap layer according to height and angle
  • Tree Clearer, deletes all tree instances from the terrain
  • Tree Scatterer, scatters the selected tree on the selected splatmap layer in natural clumps
  • Vegetation Clearer, deletes all vegetation instances from the terrain
  • Vegetation Scatterer, scatters the selected grass/vegetation detail on the selected splatmap layer in natural clumps

image

Directions

Drop the files into your assets folder. The new tools will appear under 'Terrain Tools' on the menu.

Image to Heightmap

  1. Create a new unity terrain
  2. Import your greyscale heightmap
  3. In the Import Settings of your texture tick the box that says "Read/Write"
  4. In the Import Settings of your texture change the format at the bottom to "R 16 but" image
  5. Now run the Image to Heightmap Tool, drag in your terrain and drag in your heightmap
  6. Press Apply Heightmap

Terrain Splatmap Painter

  1. Set up your terrain layers on the terrain
  2. Run Terrain Splatmap Painter
  3. Drag in your terrain
  4. Height threshold, is the height the splatmap will start at i.e. if the threshold is 100 the splatmap won't be painted on any part of the terrain below that
  5. Angle threshold, is the angle the splatmap will start at i.e. if the threshold is 30 the splatmap won't be painted on any part of the terrain that has an angle less than 30 degress

Tree Scatterer

  1. Set up your tree prototypes on the terrain
  2. Run Tree Scatterer
  3. Drag in your terrain
  4. The rest is self explanatory

Vegetation Scatterer

  1. Set up your detail prototypes on the terrain
  2. Run the Vegetation Scatterer
  3. Drag in your terrain
  4. The rest is self explanatory

About

Set of tools that allows you to quickly create a unity terrain

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages