Version: 2020.2

LightingSettings.finalGatherRayCount

切换到手册
public float finalGatherRayCount ;

描述

Controls the number of rays emitted for every final gather point. A final gather point is a lightmap texel in the final, composited lightmap. (Editor only).

Final gather fires additional rays from the position of final lightmap texels before compositing with Enlighten’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.

See Also: LightingSettings.finalGather, LightingSettings.finalGatherFiltering.

Copyright © 2023 Unity Technologies
优美缔软件(上海)有限公司 版权所有
"Unity"、Unity 徽标及其他 Unity 商标是 Unity Technologies 或其附属机构在美国及其他地区的商标或注册商标。其他名称或品牌是其各自所有者的商标。
公安部备案号:
31010902002961