# maskMapTexture

> The mask map texture used by the terrain layer.

## Definition

* **Type:** Property
* **Namespace:** [UnityEngine](/engine/6000.3/script-reference/unityengine.md)
* **Assembly:** UnityEngine.TerrainModule

```csharp
public Texture2D maskMapTexture { get; set; }
```

### Remarks

The content of each channel varies by the terrain shader. For HDRP TerrainLit shader, the channels are:

R: Height - used when doing height based blending

G: Smoothness

B: Metallic.
