Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. We are updating our Terms of Service for all Unity subscription plans, effective October 13, 2022, to create a more streamlined, user-friendly set of terms. Please review them here: unity.com/legal/terms-of-service.
    Dismiss Notice
  3. Have a look at our Games Focus blog post series which will show what Unity is doing for all game developers – now, next year, and in the future.
    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

    Willbur415

    Joined:
    Sep 27, 2015
    Posts:
    1
    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 :),

    William
     
  2. DiegoContePeralta

    DiegoContePeralta

    Joined:
    Feb 26, 2016
    Posts:
    2
    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 :)
     
unityunity