Version: 2020.3
针对 XR 配置 Unity 项目
XR API 参考

Universal Render Pipeline compatibility in XR

Support for XR features in the Universal Render Pipeline (URP) varies by URP package version. This page details compatibility between XR features in Unity 2020.2 and the latest compatible URP version.

To determine which version of URP is compatible with your current Unity version, see the Requirements and compatibility page in the Universal Render Pipeline documentation.

Unity 2020.2 supports the following AR and VR features in the Universal Render Pipeline:

功能 Supported in XR
Post-processing effects: Bloom
Post-processing effects: MotionBlur
Post-processing effects: Lens Distortion
Post-processing effects: Depth of Field
Post-processing effects: ToneMapping
Other post-processing effects (color adjustment, etc.)
GI (Global Illumination)
HDR 渲染 是 (1)
MSAA
Physical Camera
CopyColor / ColorDepth
Multi Display
Camera Stacking
Cascaded Shadow
sRGB
Skybox
雾效
Billboard
Shader Graph 是 (2)
Particles
Terrain
2D UI (Canvas Renderer, Text Mesh Pro)
URP Debug (Scene View Mode, Frame Debug) Yes (3)

(1) HDR display is currently unsupported. (2) 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. (3) Unity supports frame debugging for mock HMDs. Currently, there is no support for Oculus.

To learn more about post-processing effects, see the Effect list page in the Universal Render Pipeline documentation.

针对 XR 配置 Unity 项目
XR API 参考