finalGather
Specifies whether the final light bounce of the global illumination calculation is calculated at the same resolution as the baked lightmap. (Editor only).
Read time 1 minuteLast updated 8 days ago
Definition
- Type: Property
- Namespace: UnityEngine
- Assembly: UnityEngine.CoreModule
public bool finalGather { 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 the appearance of effects such as indirect shadowing and mitigate potential light leaks. However, this also increases the amount of time needed to bake lighting.
Setting for LightingSettings.Lightmapper.Enlighten.
Additional Resources: LightingSettings.finalGatherFiltering, LightingSettings.finalGatherRayCount.