# globalIlluminationFlags

> Defines how the material should interact with lightmaps and lightprobes.

## Definition

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

```csharp
public MaterialGlobalIlluminationFlags globalIlluminationFlags { get; set; }
```

### Remarks

A custom shader GUI will usually set these values based on user input.
