S2ENGINE HD 2020
User guide
×
Menu
Index

Vegetation Layers

In S2Engine it is possible to paint on terrain a layer of objects grouped following some rules stored in a resource called vegetation layer (vgl).
The rules objects are placed in a vegeation layer are desgined to follow some features existing in nature with a bit of randomness, in order to give the same feeling of real life vegetation.
 
Vegetation layers are stored inside vegetation assets (.vgl file).
 

CREATING VEGETATION LAYER ASSET
To create a new Vegetation asset:
 
Vegetation is created by iterating 4 features that correspond to the 4 types of objects a vegetation mask supports and to the 4 groups of the Vegetation editor panel:
To know how to edit these features of the vegetation asset see Vegeteation editor topic.