通用渲染管线 (URP) 中对 XR 功能的支持因 URP 包版本而异。本页面详细介绍 Unity 2020.2 中的 XR 功能与最新兼容的 URP 版本之间的兼容性。
要确定哪个版本的 URP 与您当前的 Unity 版本兼容,请参阅通用渲染管线文档中的要求和兼容性页面。
Unity 2020.2 在通用渲染管线中支持以下 AR 和 VR 功能:
功能 | XR 支持 |
---|---|
后期处理效果:泛光 | 是 |
后期处理效果:运动模糊 | 是 |
后期处理效果:镜头失真 | 否 |
后期处理效果:景深 | 是 |
后期处理效果:色调映射 | 是 |
其他后期处理效果(颜色调整等) | 是 |
GI(全局光照) | 是 |
HDR | 是 |
MSAA | 是 |
物理摄像机 | 否 |
CopyColor / ColorDepth | 是 |
多显示 | 否 |
摄像机堆叠 | 是 |
级联阴影 | 是 |
sRGB | 是 |
Skybox | 是 |
雾效 | 是 |
公告牌 | 是 |
Shader Graph | 是 (1) |
粒子 | 是 |
Terrain | 是 |
2D UI(Canvas Renderer,Text Mesh Pro) | 是 |
URP 调试(Scene 视图模式,帧调试) | 是 (2) |
(1) Although Shader Graph shaders can run in XR, Shader Graph doesn’t currently support the XR utility feature to create SPI-compatible shader input textures. Unity will expand support for Shader Graph functionality in future releases. (2) Unity supports frame debugging for mock HMDs. Currently, there is no support for Oculus.
要了解有关后期处理效果的更多信息,请参阅通用渲染管线文档中的效果列表页面。
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.