New: Nature Renderer 2021

Render vast amounts of detailed vegetation on your terrain.

Learn more
This page may not work correctly inside the Unity editor. Open in browser

Object Settings

Basic Settings

The basic settings for a detail object such as prefab, size, and color are set in the Terrain component using Unity's default tools. Follow these steps to edit the settings:

  1. Go to the 'Paint Details' tab in your Terrain component.
  2. Select the detail that you want to edit in the list.
  3. Click 'Edit Details...' and choose 'Edit'.
  4. Change the properties in the  'Edit Detail Mesh' popup.

Doc_Edit_Details.jpg

Detail
The prefab to use for the detail. Render Settings and material can be edited directly on the prefab (see below).
Noise Spread
The size of the noise that is applied to the color and scale. Larger values reduce the size.
Min Width
Minimum scale for the detail.
Max Width
Maximum scale for the detail.
Min Height
Minimum scale for the detail.
Max Height
Maximum scale for the detail.
Healthy Color
Color variation 1 (Set both Healthy and Dry to white to disable coloring and use the material's color instead)
Dry Color
Color variation 2.
Render Mode
Ignored by Nature Renderer

Render Settings

More advanced settings related to the rendering of the object are set in the Mesh Renderer component of the selected prefab. You can change the following settings:

Cast Shadows
Enable to have the detail object cast shadows.
Receive Shadows
Enable to have the detail object receive shadows from other objects in the scene.
Light Probes
Set the Light Probes field to 'Custom Provided' to enable light probe sampling for the detail object. Only works if Procedural Instancing is disabled in the Nature Renderer component.
Material
Nature Renderer will use the material that is set in the Mesh Renderer component. It is recommended to use the included "Nature Shaders/Grass" shader for the material but you can also use a custom shader if you have one.

Documentation_Nature-Renderer_Detail-render-settings.jpg

Color

The color for detail objects is set using the 'Healthy' and 'Dry' colors. These colors are blended based on a noise texture that is spread out over the terrain. Therefore, some parts will use the Healthy color, while other parts use the Dry color. The Noise Spread value determines the size of this noise.

nature-renderer-tint-color-method-example.jpg

It is also possible to change the color of the detail objects directly in the material of the object. To do this, set both the Healthy and Dry colors to white and then select the material that is used by the detail object prefab and edit the color in the Color Correction section of the material.

Was this article helpful?
10 out of 11 found this helpful