Version: 2017.2

Terrain.materialTemplate

Switch to Manual
public Material materialTemplate ;

Description

Компонент Terrain визуализирует ландшафт.

You can use this variable to give the terrain a custom material to render with. For the material to be actually applied, you also need to set Terrain.materialType to Terrain.MaterialType.Custom.

No copy of the custom material is made internally, so modifying materialTemplate will affect all terrain objects using the same material.