Enlighten is deprecated, and will soon be removed. Please refer to the Unity blog for more information. As an alternative use Progressive GPU Lightmapper (Preview) or Progressive CPU Lightmapper.
如果您的模型使用了 LOD(细节级别)功能,那么在对模型使用实时全局光照 (GI) 之前,请先阅读本文。
在支持烘焙光照和实时 GI 的场景中使用 Unity 的 LOD 系统时,该系统会将细节级别组 (LOD Group) 中细节级别最高的模型像普通静态模型一样照亮。系统采用光照贴图来进行直接光照和间接光照,并对实时 GI 采用不同的光照贴图。
为了让烘焙系统生成实时或烘焙光照贴图,请选择所需的游戏对象,在 Inspector 窗口中查看其渲染器组件,然后确保已启用 Contribute Global Illumination。
对于 LOD 组中较低的 LOD,只能将烘焙光照贴图与光照探针 (Light Probes) 或光照探针代理体 (Light Probe Proxy Volumes) 中的实时 GI 进行组合,而且必须将光照探针或光照探针代理体放置在 LOD 组周围。
无论何时使用实时 GI,即使启用了 Contribute Global Illumination__,渲染器也会为较低的 LOD 启用 Light Probes__ 选项。
2019–08–01 页面已修订
在 2017.3 版中添加了实时全局光照 NewIn20173
Did you find this page useful? Please give it a rating:
Thanks for rating this page!
What kind of problem would you like to report?
Thanks for letting us know! This page has been marked for review based on your feedback.
If you have time, you can provide more information to help us fix the problem faster.
Provide more information
You've told us this page needs code samples. If you'd like to help us further, you could provide a code sample, or tell us about what kind of code sample you'd like to see:
You've told us there are code samples on this page which don't work. If you know how to fix it, or have something better we could use instead, please let us know:
You've told us there is information missing from this page. Please tell us more about what's missing:
You've told us there is incorrect information on this page. If you know what we should change to make it correct, please tell us:
You've told us this page has unclear or confusing information. Please tell us more about what you found unclear or confusing, or let us know how we could make it clearer:
You've told us there is a spelling or grammar error on this page. Please tell us what's wrong:
You've told us this page has a problem. Please tell us more about what's wrong:
Thank you for helping to make the Unity documentation better!
Your feedback has been submitted as a ticket for our documentation team to review.
We are not able to reply to every ticket submitted.