# environmentImportanceSampling

> Determines whether Progressive Lightmappers use importance sampling when they sample environment lighting while baking.

## Definition

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

```csharp
public bool environmentImportanceSampling { get; set; }
```

### Remarks

Using importance sampling for environment lighting can reduce noise and produce cleaner bake results. In certain low frequency environments, importance sampling can produce noisy results.
