# RawDepth

> Shadow sampling mode for sampling the depth value.

## Definition

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

```csharp
RawDepth = 1
```

### Remarks

The texture and sampler can be declared with: `sampler2D _Shadowmap;`

and sampled with: `tex2D(_Shadowmap, uv).r;`.
