# Shadow

> Represents the default platform specific shadow format.

## Definition

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

```csharp
Shadow = 3
```

### Remarks

To create a [RenderTexture](/engine/6000.6/script-reference/unityengine/rendertexture.md) that can be used as a shadow map, you also need to set the [ShadowSamplingMode](/engine/6000.6/script-reference/unityengine/rendering/shadowsamplingmode.md) using [RenderTextureDescriptor.shadowSamplingMode](/engine/6000.6/script-reference/unityengine/rendertexturedescriptor/shadowsamplingmode.md). Unity does this automatically if you call the RenderTexture constructor using the `DefaultFormat.Shadow` format.
