# lightmapsMode

> NonDirectional or CombinedDirectional Specular lightmaps rendering mode.

## Definition

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

```csharp
public static LightmapsMode lightmapsMode { get; set; }
```

### Remarks

Note: this property is only serialized when building the player. In all the other cases it's the responsibility of the Unity lightmapping system (or a custom script that brings external lightmapping data) to set it when the Scene loads or playmode is entered.

You can continue reading [here](/engine/6000.6/manual/lighting-overview/direct-and-indirect-lighting/lightmapping/configure-lightmapping-settings/directional.md) if you want to know what the different lightmap modes do.
