Search Unity

Custom VR distortion shader

Discussion in 'AR/VR (XR) Discussion' started by karelhladky, Feb 15, 2018.

  1. karelhladky

    karelhladky

    Joined:
    Apr 6, 2014
    Posts:
    9
    Hello everyone!

    I'm trying to solve following problem: I'm making a VR application in Unity 2017.3 for Google Cardboard, but I'm not using native VR support. The reason is low performance. If I use two cameras, performance is much better but the problem is that screen looks different of course. There should be some distortion in edges.

    I think I could fix that by adding some shader on camera, but I don't absolutely know how to implement that.

    Could anyone help?

    Many thanks!
    Karel