For grass objects, CRYENGINE has some special shader parameters, which improve their look and behavior. Use the Vegetation Shader on all vegetation objects to make use of the specific features for vegetation objects.
Both technologies are available for vegetation objects, but an object may be better suited to use one of these settings instead of the other.
To illustrate the two different approaches, we'll see below how vegetation objects are distributed along the terrain.
Default | Align Terrain |
---|---|
Fit Terrain | Align & Fit Terrain |
The placement of procedural vegetation is controlled by the texture layer with which the vegetation object is associated. Wherever the texture layer is painted, procedural vegetation objects are being displayed. This is a quick and dirty way to automatically cover a huge area with grass.
The setup within the vegetation tool is almost the same as for manually placed vegetation objects. To enable procedural placement, the asset needs to associated with one or more texture layers.
In the "Use On Terrain Layers" section (see the red box below), you simply turn on and off whether the object is being used by a terrain layer. This automatically distributes the asset in all the places, the texture has been painted.