Documentation

Unity Engine

Unity Engine

SinglePass

Single pass VR rendering ( via double-wide render texture ).
Read time 1 minuteLast updated a month ago

Definition

  • Type: Field
  • Namespace: UnityEditor
  • Assembly: UnityEditor
SinglePass = 1

Remarks

This is a faster rendering path for VR compared to the StereoRenderingPath.MultiPass. The speed is achieved by traversing the Scene graph only once while issuing two draw calls for each render node.
The main render target has to be a double wide render target. Scene culling & shadow map rendering is shared between the eyes.
Additional Resources: PlayerSettings.stereoRenderingPath.