# lightsUseLinearIntensity

> If this is true, Light intensity is multiplied against linear color values. If it is false, gamma color values are used.

## Definition

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

```csharp
public static bool lightsUseLinearIntensity { get; set; }
```

### Remarks

Light intensity is multiplied by the linear color value when lightsUseLinearIntensity is enabled. This is physically correct but not the default for 3D projects created with Unity 5.6 and newer.  By default [GraphicsSettings.lightsUseLinearIntensity](/engine/6000.7/script-reference/unityengine/rendering/graphicssettings/lightsuselinearintensity.md) is set to false.

2D projects will have [GraphicsSettings.lightsUseLinearIntensity](/engine/6000.7/script-reference/unityengine/rendering/graphicssettings/lightsuselinearintensity.md) set to disabled by default. When disabled, the gamma color value is multiplied with the intensity. If you want to use [GraphicsSettings.lightsUseColorTemperature](/engine/6000.7/script-reference/unityengine/rendering/graphicssettings/lightsusecolortemperature.md), [GraphicsSettings.lightsUseLinearIntensity](/engine/6000.7/script-reference/unityengine/rendering/graphicssettings/lightsuselinearintensity.md) has to be enabled.

If you enable [GraphicsSettings.lightsUseLinearIntensity](/engine/6000.7/script-reference/unityengine/rendering/graphicssettings/lightsuselinearintensity.md) on an existing project, all your Lights will need to be tweaked to regain their original look.

Additional Resources: [GraphicsSettings.lightsUseColorTemperature](/engine/6000.7/script-reference/unityengine/rendering/graphicssettings/lightsusecolortemperature.md), [Light.colorTemperature](/engine/6000.7/script-reference/unityengine/light/colortemperature.md).
