Skip to end of metadata
Go to start of metadata

What is procedural vegetation?

Inside of the Editor we define procedural vegetation as any vegetation object that is in the Vegetation Editor that can be instanced and scattered around the map. It is important to note that it can be any object and is not restricted to simply foliage. In several cases you could put hay bales or have wagon axles that are randomly scattered along the roadside.

To activate this feature we will have to utilise a material masking feature to expose the vegetation to only the sections in which we paint with that specific material. Once it is activated you will be able to control the density of that Vegetation Object to globally paint freely and get lush landscapes with less effort.

How to use procedural vegetation

Follow the steps below to set up your terrain textures with procedural vegetation:

  1. We'll use the terrain material MUD that we made before as a basis for painting. If you have not gone through the Terrain Quick Start you should do so to follow along better.
  2. Add the grass object to the procedural layer by scrolling down and first setting the Density to 3 for spacing and then at the base clicking the checkbox Use on Material Layers -> Materials/MYMATERIAL.
  3. Now that we have a general idea on the setting of Density we can adjust this to be higher at around .5 spacing which is based on the meters apart. A low number will always produce more instances and fill out the shape more.
  4. The last step is to keep adding more and more objects to your material and then adjusting the density to see landscapes quite quickly. Below you can see an example where trees and rocks have all been added procedurally through the material layers.

Step 1

 

 

Step 2

 

 

Step 3

 

 

Step 4

 

 

 

 

 

  • No labels