Search Unity

Should I resize my VR images to power of 2?

Discussion in 'VR' started by drugges, Oct 26, 2019.

  1. drugges

    drugges

    Joined:
    Dec 28, 2018
    Posts:
    42
    I have a VR system where user can upload eg background image spheres on the web and view the images with Oculus glasses. I have implemented the Oculus app in Unity.
    The oculus app downloads the images and creates textures with those image, at runtime.
    Question:
    The user can upload custom sized images. And it magically works. But would it be better to scale the images the user uploads before sending them to the glasses? What happens in Unity otherwise? Does it perform some in memory scaling?
     
  2. JoeStrout

    JoeStrout

    Joined:
    Jan 14, 2011
    Posts:
    9,859
    It may do padding, but not scaling. I don't think you should worry about it.
     
  3. drugges

    drugges

    Joined:
    Dec 28, 2018
    Posts:
    42
    Thanks. But I do worry until I know for sure :)
     
  4. JoeStrout

    JoeStrout

    Joined:
    Jan 14, 2011
    Posts:
    9,859
    You're going to worry a lot then. Some things are simply undocumented.