Single Pass rendering into a double-wide RenderTexture from a script?
Hello!
Is it possible to utilize the Single Pass rendering in Unity manually from a script, when this is used for VR rendering in my project?
I have tried setting my custom stereo view/projection matrices via camera.SetStereoViewMatrix() and creating a RenderTexture with VRTextureUsage.TwoEyes, but this camera only does monoscopic rendering.
I'd like to use the rendering from scripting, rendering the double-wide stereo image more efficiently, rather than rendering into each half twice, but I'm not sure how to achieve this.
Any help is greatly appreciated.
Your answer
![](https://koobas.hobune.stream/wayback/20220612194155im_/https://answers.unity.com/themes/thub/images/avi.jpg)
Follow this Question
Related Questions
Camera.RenderToCubemap in VR has black edges 1 Answer
ScreenToWorldPoint() not working properly using a RenderTexture 1 Answer
XR Toolkit Stereo Rendering 0 Answers
Rendering a Canvas as Screen Space - Camera - Google Cardboard 0 Answers
(HDRP) Camera.Render() renders black, but only if Scene View is not visible 0 Answers