# LightBaker

> Defines which light baker to use by default for lightmap and light probe generation.

## Definition

* **Type:** Enum
* **Namespace:** [UnityEditor.Rendering](/engine/6000.7/script-reference/unityeditor/rendering.md)
* **Assembly:** UnityEditor.CoreModule

```csharp
public enum LightBaker
```

## Remarks

Use this enum to specify which light baking backend Unity should use when generating lightmaps and light probes.

Additional Resources: [EditorGraphicsSettings.defaultLightBaker](/engine/6000.7/script-reference/unityeditor/rendering/editorgraphicssettings/defaultlightbaker.md).

## Fields

| Value                                                                                                                | Description                                   |
| -------------------------------------------------------------------------------------------------------------------- | --------------------------------------------- |
| [ProgressiveLightBaker](/engine/6000.7/script-reference/unityeditor/rendering/lightbaker/progressivelightbaker.md)   | Use the Progressive Lightmapper (CPU or GPU). |
| [UnityComputeLightBaker](/engine/6000.7/script-reference/unityeditor/rendering/lightbaker/unitycomputelightbaker.md) | Use the Unity Compute Light Baker.            |
