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.

Copyright © 2022 Open 3D Engine Contributors

Documentation Distributed under CC BY 4.0.
For our trademark, privacy and antitrust policies, code of conduct, and terms of use, please click the applicable link below or see https://www.lfprojects.org.

The Linux Foundation has registered trademarks and uses trademarks. For a list of trademarks of The Linux Foundation, please see our Trademark Policy page.