Unity switches to left and right screen effects

Unity normal images are captured and rendered by a camera


The effect of the left and right screens is to use two cameras to capture and render. The values ​​of the left and right offsets can be adjusted according to the degree you want. The offsets must be symmetrical.



Then render the captured images to the corresponding RenderTexture respectively, and then assign them to the corresponding RawImage.


Then use a new camera's orthographic projection to render the current layer.


Guess you like

Origin blog.csdn.net/qq_25189313/article/details/78112770