当你选择延迟渲染路径渲染管道用于渲染图形的技术。选择不同的渲染路径会影响光照和着色的计算方式。某些渲染路径更适用于不同的平台和硬件。更多信息
参见 词汇表时,Unity 会显示精确的 G 缓冲法线属性。
精确的 G 缓冲法线属性可让你配置 Unity 在几何缓冲区 (G 缓冲区) 中存储法线时的编码方式。
精确的 G 缓冲法线关闭:此选项会提升性能,尤其是在移动 GPU 上,但可能会在平滑表面上导致色带伪影。
精确的 G 缓冲法线开启:Unity 使用八面体编码将法线向量的值存储在法线纹理的 RGB 通道中。使用此编码,法线向量的值会更加精确,但编码和解码操作会给 GPU 带去额外的负担。此选项与屏幕空间贴花技术结合使用时不支持贴花法线混合。
在精确的 G 缓冲法线选项开启的情况下,由于编码和解码操作,GPU 会有额外的负担。这种负担对于桌面平台和游戏机来说很小,但对于移动 GPU 来说可能会相当大。
开启选项不会增加内存占用。为了存储法线,Unity 使用法线纹理中相同的 RGB 通道,无论采用何种编码。
有关此设置的更多信息,请参阅G 缓冲区中的法线编码。
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.