# ShadowObjectsFilter

> The filters that Unity can use when it renders GameObjects in the shadow pass.

## Definition

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

```csharp
public enum ShadowObjectsFilter
```

## Fields

| Value                                                                                         | Description                                                                |
| --------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------- |
| [AllObjects](/engine/6000.7/script-reference/unityengine/shadowobjectsfilter/allobjects.md)   | Renders all GameObjects.                                                   |
| [DynamicOnly](/engine/6000.7/script-reference/unityengine/shadowobjectsfilter/dynamiconly.md) | Only renders GameObjects that do not include the Static Shadow Caster tag. |
| [StaticOnly](/engine/6000.7/script-reference/unityengine/shadowobjectsfilter/staticonly.md)   | Only renders GameObjects that include the Static Shadow Caster tag.        |
