Update Multi-Pass Stereo
This component is used for stereo rendering VR devices to update AVPro Video shaders so that stereo videos have their left/right frame rendered to the correct eye.
Usually this component isn't required as Unity internally sets up the correct shader variables, however there are some situations where this doesn't happen and this component must be used.
Situations that require this component:
- On some devices when multi-pass stereo rendering is used (e.g. on Pico G2 4K)
- When OES video rendering mode (Android only) is used with multi-pass stereo rendering
Note
When using URP/HDRP this component must be on the same GameObject as the camera specified as the view head position.
Properties
Property | Function |
---|---|
Camera | The camera representing the viewers head position. If you are using a camera per-eye, then this should still be set to the camera between the two eyes. |