# enableHeightmapLODFrustumCulling

> Controls frustum culling for the terrain heightmap LOD system.

## Definition

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

```csharp
public bool enableHeightmapLODFrustumCulling { get; set; }
```

### Remarks

When enabled (the default), terrain patches outside the camera frustum are simplified aggressively, which reduces heightmap tessellation cost.

When disabled, terrain is tessellated based on camera distance and pixel error only, regardless of whether it is visible.

### Examples

```csharp
using UnityEngine;

public class Example : MonoBehaviour
{
    void Start()
    {
        // Note: disabling this increases heightmap tessellation cost for off-screen terrain.
        foreach (var terrain in Terrain.activeTerrains)
            terrain.enableHeightmapLODFrustumCulling = false;
    }
}
```
