# finalGatherFiltering

> Controls whether a denoising filter is applied to the final gather output.

## Definition

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

> **Warning:**
>
> **Removed.** Bake with the Progressive Lightmapper. The backend that uses Enlighten to bake is obsolete.

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

### Remarks

Final gather fires additional rays from the position of final lightmap texels before compositing with Enlighten Realtime Global Illumination’s lower resolution indirect lightmap. This can improve effects such as indirect shadowing and mitigate potential light leaks. When enabled, visual quality is improved at the cost of additional time required to bake the lighting.

Setting for [LightingSettings.Lightmapper.Enlighten](/engine/6000.7/script-reference/unityengine/lightingsettings/lightmapper/enlighten.md).

Additional Resources: [LightingSettings.finalGather](/engine/6000.7/script-reference/unityengine/lightingsettings/finalgather.md), [LightingSettings.finalGatherRayCount](/engine/6000.7/script-reference/unityengine/lightingsettings/finalgatherraycount.md).
