> For the complete documentation index, see [llms.txt](https://polysphere-studio.gitbook.io/trash-city-pack/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://polysphere-studio.gitbook.io/trash-city-pack/methods-to-place-trash/using-foliage-mode.md).

# Using Foliage Mode

Foliage mode allows you to quickly and easily place 3D models on a surface. When using foliage mode for placing 3D models of trash, you can control the density and size of the models, as well as their orientation to create a more believable 3D environment.

You can place the static meshes, but you can also choose from the static meshes foliage included in the pack, which already have the material variation applied.

The static meshes foliage can be found in the ".../Models/Trash/StaticFoliage" folder.

This is recommended to be used for small or flat objects such as papers and cigarettes.

Pro:&#x20;

* You can spawn easily multiple types of trash on large surfaces.&#x20;
* The objects will be very optimized using instances for each type of object.

Cons:&#x20;

* You don't have too much control over the position/rotation of each object.&#x20;
* If you spawn too many trash models using the foliage mode, you can encounter some problems with the overlapping of multiple meshes but you can solve them manually.

How to use Foliage Mode

1. Select Foliage Mode (Shift +3)

<div align="left"><figure><img src="https://525590349-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FpqQfrcCF8X8XsT1FYN1y%2Fuploads%2FyJyB7id9zwyqFBM2cuXf%2FSelectFoliageMode.gif?alt=media&amp;token=3aa68d34-a669-4882-a7a6-7ecb8f719756" alt=""><figcaption></figcaption></figure></div>

2. Drag and drop static meshes/static meshes foliage and check which one you want to spawn

<div align="left"><figure><img src="https://525590349-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FpqQfrcCF8X8XsT1FYN1y%2Fuploads%2FvIGVIRwlnK2vvtVV3wqe%2FDragAndDropSMF.gif?alt=media&amp;token=8b8d1b02-0b66-4980-8f22-59de736f1f40" alt=""><figcaption></figcaption></figure></div>

3. Then set Brush Size/ Density and paint the static meshes

<div align="left"><figure><img src="https://525590349-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FpqQfrcCF8X8XsT1FYN1y%2Fuploads%2F9Z4okm6uY0wDWM3hx2iy%2FSpawnWithFoliageMode.gif?alt=media&amp;token=7ea55eb7-3557-4a22-b6cd-fa061aa60e87" alt=""><figcaption></figcaption></figure></div>

Full example:

<div align="left"><figure><img src="https://525590349-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FpqQfrcCF8X8XsT1FYN1y%2Fuploads%2F2pQ1pZmsiW6IMnLy7KRP%2FFoliageTool.gif?alt=media&amp;token=7e9548e8-cb31-4e2d-9847-dfd49645547e" alt=""><figcaption></figcaption></figure></div>

Another Example - adding more static meshes foliage:

<div align="left"><figure><img src="https://525590349-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FpqQfrcCF8X8XsT1FYN1y%2Fuploads%2FeJ2D1oclkkLuCS98s4ud%2FFoliageTool2.gif?alt=media&amp;token=57964b52-6689-42b1-acbe-a79af0e023d7" alt=""><figcaption></figcaption></figure></div>

NOTE: If you spawn too many trash models using the foliage mode, you can encounter some problems with the overlapping of multiple meshes. You can solve this by erasing manually some of the static meshes.

<figure><img src="https://525590349-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FpqQfrcCF8X8XsT1FYN1y%2Fuploads%2FGXNf1nXXcamNPibE6wHI%2FEraseFoliageMeshes.gif?alt=media&amp;token=72b645d1-57fc-483d-acf9-2845f6cc9253" alt=""><figcaption></figcaption></figure>
