# Linear

> Use this to sample textures with a linear filter. This is for regular texture sampling (non-shadow compare). Rentertextures created using ShadowSamplingMode.CompareDepths always support linear filtering on the comparison result.

## Definition

* **Type:** Field
* **Namespace:** [UnityEngine.Experimental.Rendering](/engine/6000.6/script-reference/unityengine/experimental/rendering.md)
* **Assembly:** UnityEngine.CoreModule

```csharp
Linear = 2
```
