Search Unity

Ugly line on 360 stereo skybox

Discussion in 'AR/VR (XR) Discussion' started by Hunubul, Jan 9, 2019.

  1. Hunubul

    Hunubul

    Joined:
    Dec 17, 2018
    Posts:
    65
    Hey!
    --------------------------------
    EDIT: I made progression with this, but it's still not solved. See my post for the update, the short version is the line is still there, and I realized that it's texture bleed and still have no idea how to solve it completely. Still ugly in VR.
    --------------------------------
    I'm using the skybox panoramic shader that you need for 360 videos, but instead I use them for pictures.
    I mean it sounds pretty dope to get a 360 image as the skybox, and it looks pretty cool. The only problem is, at the edge of the picture where they meet there is an ugly line, and at the corners (top and bottom points) the picture is a bit blurry, and there is an ugly point as well at both locations.

    Color of it is blue, except where the image is blue itself, there the line is black.

    I tried the basics, like changing the picture wrap mode to clamp instead of repeat, but no change.

    There is an image of how it looks like. I tried changing everything here, and have no idea what else could I do.
     

    Attached Files:

    Last edited: Jan 10, 2019
  2. Hunubul

    Hunubul

    Joined:
    Dec 17, 2018
    Posts:
    65
    So I tweaked a lot, and I still couldn't solve the issue, but made it less ugly by changing 2 settings:
    aniso Level
    Wrap mode -> clamp
    In script:
    texture.anisoLevel = 16;
    texture.wrapMode = TextureWrapMode.Clamp;


    There is a picture as well. The corner isn't blurry anymore, and the texture bleeding is much less.

    Can someone help me remove the remainder of the line?

    EDIT: It's still ugly in VR tho. Plz help.
     

    Attached Files:

  3. Jonastrek

    Jonastrek

    Joined:
    Sep 13, 2017
    Posts:
    3
    Hi, I know it has been a while since you asked this question, but I found a solution to it.
    Turning off "Generate Mip Maps" on the Image itself seemed to solve it for me. The settings you mentioned also made it a little better as you mentioned, but once I un-ticked "Generate mip maps", it was perfect.
    Here's an image of the settings on my image:
    upload_2019-5-29_13-35-43.png
    Hope it helps!