Search Unity

  1. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

[Unity 5.3] Display one image per eye with The Oculus DK2

Discussion in 'AR/VR (XR) Discussion' started by Willbur415, May 6, 2016.

  1. Willbur415


    Sep 27, 2015
    Hi guys,

    As the title says, I want to display 2 image in a scene. They're essentially the same image, but one of them have a little bit of distortion to make a stereoscopic effect. I want to be able to see the "left" image with the left eye and the "right" image with the right eye, but the left eye can't see the right image and the right eye can't see the left image.

    I want help from you guys because I don't see how am I going to do this with only one logical camera (the one that the OculusUtilities prefab gives).

    Thanks in advance :),

  2. DiegoContePeralta


    Feb 26, 2016
    Hi William! You need to have those images in different layers, and using the culling in the cameras you can assign them to their eye in order to achieve the stereo effect. You can asign a camera to an eye with the Target eye option. This might be usefull :)