# material

> The Material the ray tracing instance uses.

## Definition

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

```csharp
public Material material { readonly get; set; }
```

### Remarks

This value is optional. If you use ray tracing shaders and don't set a Material, the GPU doesn't execute any code when rays hit an axis-aligned bounding box (AABB) associated with this instance.
