# holesTexture

> Returns the Terrain holes Texture.

## Definition

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

```csharp
public Texture holesTexture { get; }
```

### Remarks

An uncompressed Terrain holes Texture is a RenderTexture in the Editor and at runtime. A compressed Terrain holes Texture is a Texture2D at runtime only. You might use an uncompressed Terrain holes Texture as a render target for the custom painting of Terrain holes data. Use the [TerrainData.enableHolesTextureCompression](/engine/6000.0/script-reference/unityengine/terraindata/enableholestexturecompression.md) property to enable or disable Terrain holes Texture compression at runtime.
