Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


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
Warning
Removed. Bake with the Progressive Lightmapper. The backend that uses Enlighten to bake is obsolete.
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.