What it does
Single Pass Instanced shares CPU-side setup when rendering the two eyes in XR. Shaders must pass the eye information correctly. Treating both eye images as one ordinary screen image can break rendering for one eye.
How to use it
Check the stereo path supplied by the XR plugin. Custom shaders need appropriate eye indices, instancing data and screen-texture array sampling.
A concrete example
An ordinary 2D screen sample can accidentally show one eye’s image in both eyes. Use the supported URP Blitter and stereo sampling workflow as a baseline.
How to check it
- Start with correct standard-shader stereo, then restore custom work incrementally.
Inspect both eyes on the target device - Verify both eyes, head movement, post-processing and camera stacks on the headset and compare CPU/GPU costs.
Inspect both eyes on the target device
Limitations
It does not universally halve fragment work; check multiview and shader support.