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

Reflection cube map has ugly borders on iOS

Discussion in 'Global Illumination' started by Almakos, Apr 27, 2015.

  1. Almakos

    Almakos

    Joined:
    Dec 13, 2013
    Posts:
    179
    In the editor this issue doesn't occur, but when I run on iPhone I can clearly see reflection cube map borders.
    And it's very noticeable that cube map is "following" player.
    2015-04-27-16.39.28.jpg
    2015-04-27-16.39.36.jpg
    I am using only standard shaders and baked directional specularity light maps.
    Issue appears on both OpenGLES3 and Metal
     
  2. Pipou35

    Pipou35

    Joined:
    Nov 13, 2014
    Posts:
    3
    This is due to the mipmapping of your reflection cubemap
     
  3. Almakos

    Almakos

    Joined:
    Dec 13, 2013
    Posts:
    179
    It looks like that, but I do not see any options how to disable mipmapping for baked reflection probe cube maps...
    only options I see are these:
    Screen Shot 2015-05-04 at 11.02.03 am.png
    Am I looking in the wrong place?
    Thanks
     
  4. j-baeza

    j-baeza

    Joined:
    May 14, 2015
    Posts:
    26
    Set the texture type to advanced => Untick the Generate Mip Maps option => Apply => Set the texture type to Cubemap.
    It's a bit weired.... But it works !
     
  5. j-baeza

    j-baeza

    Joined:
    May 14, 2015
    Posts:
    26
    Did it work for you ?
     
  6. Almakos

    Almakos

    Joined:
    Dec 13, 2013
    Posts:
    179
    Hey sorry for late reply. It was quite insane week.
    And thank you for the workaround.

    good news is that this issue seems to be resolved in 5.0.2p1