Version: 2018.4
LanguageEnglish
  • C#

XRSettings.StereoRenderingMode.SinglePassInstanced

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 an optimized version of the XRSettings.StereoRenderingMode.SinglePass 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. See the manual for how to get the most out of instanced rendering. See Also: XRSettings.stereoRenderingMode.