# How to set grass? How to grow grass with one click?

Use the Grass material template to quickly create large areas of natural grass.

![](https://3611830798-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MjbN1iGmN_HBnj_fyU9%2F-Mket05fc_W0B0rNHtfF%2F-MkeuquObuEXjS4h44Jh%2FGrass1.gif?alt=media\&token=c2c47de6-f7c4-402a-a8ec-a0b20de2bfcd)

The grass material parameters are as follows:

* **Base Color/Base Color Map:** Controls the color of the ground as well as the grass.

![](https://3611830798-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MjbN1iGmN_HBnj_fyU9%2F-Mket05fc_W0B0rNHtfF%2F-MkevBkY7UplZRYo7tcx%2FGrass11.gif?alt=media\&token=23029dc9-abc3-472c-92d2-6e7de7aa7c2c)

{% hint style="success" %}
It is recommended to use a grass texture map linked to the Base Color Map slot, the generated grass will automatically load the color of the base color map to generate a natural grassland.
{% endhint %}

* **Normal:** Controls the bumpy effect of the ground below the grass.&#x20;
* **Specular:** Controls the Reflectance of the grass and the ground.&#x20;
* **Roughness:** Controls the Roughness of the grass and the ground, which affects the reflection blur.&#x20;
* **Height:** Controls the height of the automatically generated grass.

![](https://3611830798-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MjbN1iGmN_HBnj_fyU9%2F-Mket05fc_W0B0rNHtfF%2F-MkevS2fO1p23Qlc6Wfl%2FGrass111.gif?alt=media\&token=f120f29a-a8e5-480b-b8f5-6d8fb6cb887e)

## FAQS

1. Why does the grass material become sparse along the model boundaries?

* The grass material algorithms of versions before 2.7 make it hard to align with the edges of small-area models. Users have to manually fill in the flawed areas with models from D5 Asset Library > Nature > Other Herbs, which can also be found by searching 'Grass Material'.
* D5 2.7 optimizes grass with better scattering and edge-cutting algorithms to precisely align with model edges. It also optimizes existing grass materials with brighter colors and a denser appearance in aerial view.

<figure><img src="https://3611830798-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MjbN1iGmN_HBnj_fyU9%2Fuploads%2Ft30dWmdJo0RbKJTBSpY5%2Fimage.png?alt=media&#x26;token=8f58bd7f-2402-437d-92d0-6c5741237161" alt=""><figcaption><p>Comparison of Grass between 2.6 and 2.7</p></figcaption></figure>

2. Why does the grass material become lifted in D5 2.7?

Models having chamfers or uneven surfaces may cause the grass to be lifted. In this case, please modify the model.

Please adjust this part of the model.

<figure><img src="https://3611830798-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MjbN1iGmN_HBnj_fyU9%2Fuploads%2FTepE9VrADcDp1F0ffo3O%2Fimage.png?alt=media&#x26;token=38599790-8cf6-439e-8a9a-c87877333e29" alt=""><figcaption></figcaption></figure>

3. Why is the distant grass generated by the terrain grass material template not shown?

For real-time efficiency, the grasses in the farther distance will become pure colour in the preview, and will be shown as the actual terrain grass effect in the output, which will not affect the rendering results.&#x20;

In ‘Preference’ -> ‘Rendering’ -> ‘Cull Distance’, you can set the fading distance from the camera for the smaller online assets library models in the scene to achieve the desired effect.

<figure><img src="https://3611830798-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MjbN1iGmN_HBnj_fyU9%2Fuploads%2FWsNrnesGTKRAYUdXQDnD%2Fimage.png?alt=media&#x26;token=509a0890-3496-4d97-8546-49e275b9a1f2" alt=""><figcaption></figcaption></figure>

Preview Cull Distance: Support to set the fading distance within the preview, the range is 20-9999 metres. When the distance is large, it will cause real-time preview lag.&#x20;

Output Cull Distance: Support to set the culling distance when rendering images, the range is 20-9999 metres. When the distance is large, it will prolong the time of rendering out. To ensure the consistency between rendering and preview, the output cull distance must be greater than or equal to the real-time cull distance.&#x20;

> You can set different distances for real-time preview and rendering results separately, and this option follows the archive record.

4. Why the model can't scatter the grass?&#x20;

Please check the model faces before using the terrain grass material, terrain grass will only be generated on the positive side of the model normal.

In SketchUp

<figure><img src="https://3611830798-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MjbN1iGmN_HBnj_fyU9%2Fuploads%2FevfWF16xXb3n9Kl0Q14G%2Fimage.png?alt=media&#x26;token=0a95bac5-4b3e-4544-8e61-1a9d842d2e8a" alt="" width="506"><figcaption></figcaption></figure>

In D5 Render

<figure><img src="https://3611830798-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MjbN1iGmN_HBnj_fyU9%2Fuploads%2Fp8dgrHw3LbdK0wFaNVST%2Fimage.png?alt=media&#x26;token=9f18db4f-34a9-4ff5-a742-4197dd97cadb" alt="" width="563"><figcaption></figcaption></figure>

5. Why is the terrain grass effect unusual in orthogonal views (top view/left view, etc.)?

This is a known issue with the current version: terrain grass is not displayed in orthogonal view (only the base color map is displayed).&#x20;

Please avoid using terrain grass in orthogonal views.

<figure><img src="https://3611830798-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MjbN1iGmN_HBnj_fyU9%2Fuploads%2F3f3hKzJ7lv1jSnsuebTA%2Fimage.png?alt=media&#x26;token=340a1b91-6367-4ead-9c33-6c1ebc517159" alt=""><figcaption><p>Perspective View Effect &#x26; Orthogonal View Effect</p></figcaption></figure>

6. Why does it prompt ‘Fail to Apply, please confirm that each applied area is no larger than 25k㎡’?

The current version restricts the terrain grass area to a maximum of 25 square kilometers.

<figure><img src="https://3611830798-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MjbN1iGmN_HBnj_fyU9%2Fuploads%2FX5HX4NiVT6CKIQH4Je5u%2Fimage.png?alt=media&#x26;token=413ddc9a-a6f0-4dbe-b546-b6a039133210" alt=""><figcaption></figcaption></figure>
