Lumberyard
User Guide (Version 1.21)

Expanding Vegetation Coverage

After you create a vegetation patch, you can expand it so that your vegetation covers the entire level.

To expand vegetation coverage

  1. Create an entity and name it WorldBox.

  2. Click Add Component and select the Box Shape component.

  3. In the Box Shape component, specify values for the x-, y-, and z-axes to match your level. For example, if you created a level with a texture dimension of 512 x 512, specify similar values such as 512.0, 512.0, and 64.0.

    
                    Create an entity to cover your level.
  4. Select the BasicCoverage entity.

  5. On the Vegetation Reference Shape component, for Shape Entity Id, select the WorldBox entity.

    
                    Specify the WorldBox entity for the
                            Vegetation Reference Shape component.

    Example

    The vegetation appears for the entire level. As you move through the level, the vegetation dynamically appears.

    
                        Specify a world box entity so that vegetation appears for the entire
                            level.