Legacy Documentation: Version 5.6 (Go to current version)
LanguageEnglish
  • C#
  • JS

Script language

Select your preferred scripting language. All code snippets will be displayed in this language.

StereoRenderingPath.Instancing

Description

Single pass VR rendering ( via instanced rendering ).

This is an optimization over the StereoRenderingPath.SinglePass method. The scene graph is traversed only once and there will be only one instanced draw call issued for each render node thus reducing the bandwidth required to render the scene.

This method is compatible with the regular instanced. Special hardware support is required for this to run. The main render target has to be an array render target. Scene culling & shadow map rendering is shared between the eyes.

See Also: PlayerSettings.stereoRenderingPath.