Firstborn/Library/PackageCache/com.unity.terrain-tools@4.0.5/Documentation~/toolbox-terrain-layers.md

45 lines
2.4 KiB
Markdown
Raw Normal View History

2023-03-28 13:24:16 -04:00
# Terrain Layers
The **Terrain Layers** section contains a few tools to help manage Terrain Layers on Terrain.
![](images/4-32-toolbox-terrain-layers-01.png)
## Terrain Palette
A **Terrain Palette** is a preset asset file that stores a collection of Terrain Layers. This preset file is similar to other Toolbox presets, which you can save or share.
![](images/4-32-toolbox-terrain-layers-02.png)
## Material Layer Palette
The **Material Layer Palette** is a reorderable list that contains imported layers. Use the **Import From Terrain** button to import layers from a selected Terrain. Use the Add (**+**) and Remove (**-**) buttons on the bottom right to add or remove a layer. Alternatively, drag a layer row, and move it up or down to change its position in the list.
![](images/4-32-toolbox-terrain-layers-03.png)
When using the High Definition Render Pipeline, you cannot use more than eight layers. When using the Universal Render Pipeline or the built-in Terrain system, there's no limit to the number of layers, but increasing the number of splatmaps uses more memory, which might impact performance.
The list order affects which channel and splatmap a layer uses. For example, the image below shows the respective splatmap and channel each layer uses when you assign them to a Terrain.
![](images/4-32-toolbox-terrain-layers-04.png)
| Position | Splatmap | Channel |
| ---------- | ----------- | ------- |
| Position 1 | SplatAlpha0 | Red |
| Position 2 | SplatAlpha0 | Green |
| Position 3 | SplatAlpha0 | Blue |
| Position 4 | SplatAlpha0 | Alpha |
| Position 5 | SplatAlpha1 | Red |
## Edit Layers
When you are done configuring the Layer Palette, click **Add to Terrain(s)** to add the layers to Terrain in the Scene.
![](images/4-32-toolbox-terrain-layers-05.png)
| **Property** | **Description** |
| ------------------------- | ------------------------------------------------------------ |
| **Clear Existing Layers** | Enable this checkbox to remove any existing layers on the Terrain before adding new layers from the palette. |
| **All Terrains in Scene** | Enable this checkbox to apply changes to all Terrain in the Scene. Disable this checkbox to apply changes only to selected Terrain in the Scene. |
| **Add to Terrain(s)** | Add palette layers to Terrain. |
| **Remove All Layers** | Remove all layers from Terrain. |