Menu
Lumberyard
User Guide (Version 1.13)

Adding Detail (Wind) Bending Effects

This topic references tools and features that are legacy. If you want to use legacy tools in Lumberyard Editor, disable the CryEntity Removal gem using the Project Configurator or the command line. To learn more about legacy features, see the Amazon Lumberyard Legacy Reference.

Detail bending refers to the procedural movement of larger foliage caused by wind or other similar effects. You control the motion by the use of vertex colors in your DCC tool.

When you use detail bending, make sure the distribution of polygons on foliage geometry is regular and properly tessellated. Otherwise you may see visual artifacts. Also make sure that leaves do not belong to a single node.

Defining Vegetation Vertex Colors

Vertex colors are used to specify detail wind bending effects for vegetation objects. All three RGB channels are used to control the movement of the geometry. Using your DCC tool, each channel should be edited and viewed separately.

Color RGB Values Bending Influence
Red 100/0/0 Irregular bending at the outsides – movement of smaller shapes
Green 0/100/0 Delays the start of the movement – used to create variations.
Blue 0/0/100 Bends the leaves up and down – movement of the big shapes.

Setting the Detail Bending Parameter

Once vertex colors are defined, set the Bending parameter for detail bending. This value controls the procedural bending deformation of vegetation. It ranges from 0 to 100 in value, 0 meaning no bending effect and 100 meaning the maximum effect, when receiving environment wind and breezes. For more information, see, Adding Global Wind.

To set the vegetation detail bending parameter

  1. In the Rollup Bar, on the Terrain tab, click Vegetation.

  2. Under Objects, select your asset.

  3. Click Bending, and adjust the value from 0 - 100 as needed.