# LightMode

> The lightmode. A light can be real-time, mixed, baked or unknown. Unknown lights will be ignored by the baking backends.

## Definition

* **Type:** Enum
* **Namespace:** [UnityEngine.Experimental.GlobalIllumination](/engine/6000.0/script-reference/unityengine/experimental/globalillumination.md)
* **Assembly:** UnityEngine.CoreModule

```csharp
public enum LightMode : byte
```

## Fields

| Value                                                                                                         | Description                                                                                                     |
| ------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------- |
| [Baked](/engine/6000.0/script-reference/unityengine/experimental/globalillumination/lightmode/baked.md)       | The light is fully baked and has no real-time component.                                                        |
| [Mixed](/engine/6000.0/script-reference/unityengine/experimental/globalillumination/lightmode/mixed.md)       | The light is mixed. Mixed lights are interpreted based on the global light mode setting in the lighting window. |
| [Realtime](/engine/6000.0/script-reference/unityengine/experimental/globalillumination/lightmode/realtime.md) | The light is real-time. No contribution will be baked in lightmaps or light probes.                             |
| [Unknown](/engine/6000.0/script-reference/unityengine/experimental/globalillumination/lightmode/unknown.md)   | The light should be ignored by the baking backends.                                                             |
