Version: Unity 6 Beta (6000.0)
LanguageEnglish
  • C#

XRSettings.StereoRenderingMode.SinglePassMultiview

Suggest a change

Success!

Thank you for helping us improve the quality of Unity Documentation. Although we cannot accept all submissions, we do read each suggested change from our users and will make updates where applicable.

Close

Submission failed

For some reason your suggested change could not be submitted. Please <a>try again</a> in a few minutes. And thank you for taking the time to help us improve the quality of Unity Documentation.

Close

Cancel

Description

This is a OpenGL optimized version of the XRSettings.StereoRenderingMode.SinglePassInstanced mode.

The scene graph is only traversed once and a single instanced draw call is issued for each render node, thus reducing the bandwidth required to render the scene. Scene culling and shadow map rendering is shared between both eyes. The main render target must be an array of render targets. Special hardware support is required for this mode to run. Depending on their graphics capabilities, certain GPUs will run this stereo rendering mode and others will run XRSettings.StereoRenderingMode.SinglePassInstanced. GPUs that support neither of those modes will fall back to XRSettings.StereoRenderingMode.MultiPass. See the manual for how to get the most out of instanced rendering. Additional resources: XRSettings.stereoRenderingMode.

Copyright © 2023 Unity Technologies
优美缔软件(上海)有限公司 版权所有
"Unity"、Unity 徽标及其他 Unity 商标是 Unity Technologies 或其附属机构在美国及其他地区的商标或注册商标。其他名称或品牌是其各自所有者的商标。
公安部备案号:
31010902002961