本页面提供关于如何将光照烘焙到采用 Unity LOD(细节级别)系统的模型上的相关建议。
When you use the Progressive Lightmapper, there is no need to place Light Probes around an LOD Group to generate baked indirect lighting.
Enlighten Baked Global Illumination can only compute direct lighting for lower LODs, and the LOD system must rely on Light Probes to sample indirect lighting.
Enlighten Baked Global Illumination is deprecated and no longer visible in the user interface by default. See Lightmapping using Enlighten Baked Global Illumination for more information.
If you do not place Light Probes, your lower LOD models may appear visually incorrect because they only receive direct light.
要正确设置烘焙光照的 LOD 模型,应将 LOD 游戏对象标记为 Contribute GI。为此,请选择游戏对象,然后在 Inspector 窗口顶部选择 Static 复选框旁边的下拉菜单:
使用光照探针组件将光照探针置于 LOD 游戏对象周围。
注意:只有细节级别最高的模型会影响周围几何体的光照(比如,周围建筑的阴影或者反射光)。大部分情况下,这应该不是问题,因为较低细节级别的模型与最高细节级别的模型应该是高度相似的。