确定在 Unity 重新计算实时光照贴图时触发的照明强度百分比变化。
Enlighten 实时全局光照会记录自 Unity 上次为场景重新计算光照贴图以来照明强度的累积百分比变化。当此百分比变化超过 DynamicGI._updateThreshold 值时,编辑器会重新计算照明解决方案。此属性的默认值为 1%。此属性的值越低,编辑器重新计算的频率越高,CPU 负载越大。更高的值会减少 Unity 重新计算的次数,并降低 CPU 负载。此百分比是发生解决之前允许的最大误差容差。为此属性设置一个正值可确保 Unity 仅在您更改照明时更新场景。很高的值会导致突然出现的伪像和不正确的间接辐照度值,但如果想节约更多的 CPU 周期,可以将此属性设置为高于 100%。此属性的值为 0 时,Unity 会在您对照明强度进行即便是很小的更改时更新实时光照贴图。任何负值都会关闭时间一致性,因此即使照明没有发生变化,系统也会每帧解决一次。Unity 会较少地解决较高强度值而不是较低的值。这是因为人类对低强度光的差异感知高于对高强度光的差异感知。
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.