# supportsRawShadowDepthSampling

> Is sampling raw depth from shadowmaps supported? (Read Only)

## Definition

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

```csharp
public static bool supportsRawShadowDepthSampling { get; }
```

### Remarks

Some platforms (most notably Direct3D 9) can not sample raw depth value from a shadowmap.

Additional Resources: [CommandBuffer.SetShadowSamplingMode](/engine/6000.3/script-reference/unityengine/rendering/commandbuffer/setshadowsamplingmode.md).
