Skip to main content
March 17, 2017

How is lens distortion handled in Unity 5?

I noticed whenever I rotate my head in my own Unity app, I can see some kind of bending of the lines/structures. However, I don't see it in Dreamdeck or other apps downloaded from Oculus. Is that caused by lens distortion? If that's the case, how can I correct that?

Thanks,
MC
    This topic has been closed for replies.

    4 replies

    Inspiring
    March 17, 2017
    Moving to the Unity developers section. 
    However, distortion correction is handled by the runtime. You shouldn't need to do anything in Unity.
    AMD Ryzen 7 1800X | MSI X370 Titanium | G.Skill 16GB DDR4 3200 | EVGA SuperNOVA 1000 | Corsair Hydro H110i Gigabyte RX Vega 64 x2 | Samsung 960 Evo M.2 500GB | Seagate FireCuda SSHD 2TB | Phanteks ENTHOO EVOLV
    March 17, 2017
    @cybereality
    I saw other people talking about that in this post. I guess the interface may have changed or so.

    Have you happened to noticed any distortion like that in Unity? Any insights what might be happening here?

    Thanks!
    March 17, 2017
    @cybereality
    I went back and checked the app again. It looks like the distortion only happens when I disable positional tracking by unticking 'Use positional tracking'. Is there any way to fix that?

    Thanks,
    MC
    March 17, 2017
    @imperativity

    Just messaged you the link. I wonder if it has anything to do with the head model not handled well when positional tracking is disabled. Rotating the head is supposed to give some translation as well right?

    Thank you