finalGather
Specifies whether the final light bounce of the global illumination calculation is calculated at the same resolution as the baked lightmap. (Editor only).
阅读时间1 分钟最后更新于 1 个月前
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.