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 have updated the language to the Editor Terms based on feedback from our employees and community. Learn more.
    Dismiss Notice

Cascade shadow offset in right eye

Discussion in 'VR' started by Komokara, Sep 4, 2018.

  1. Komokara

    Komokara

    Joined:
    Feb 10, 2017
    Posts:
    1
    Hello, I'm using a Fove HMD (https://www.getfove.com/) and I'm having a problem with the shadows in the right eye.

    They suggest using forward rendering path, but when I use that there is a shadow offset in the right eye. When I toggle cascade shadows, it fixes it (but then leaves the shadows ugly, so it's not working fix). I also tired deferred rendering which fixes the shadow offset but turns off shadows in the right eye. Any ideas on how to fix this?

    I think the pass the camera renders the shadows it only renders it for the left eye and uses them for the right eye. So the right eye only sees the shadows in world space where the left eye sees them.

    See picture for example of forward rendering with cascade shadows on.
     

    Attached Files: