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
  3. Join us on November 16th, 2023, between 1 pm and 9 pm CET for Ask the Experts Online on Discord and on Unity Discussions.
    Dismiss Notice

Mobile Bumped/Specular Shader on iPhone

Discussion in 'Shaders' started by NemesisII, Dec 31, 2014.

  1. NemesisII

    NemesisII

    Joined:
    Dec 31, 2014
    Posts:
    2
    Hello,

    I'm learning the Project Survival Shooter on Unity Page. Everything works fine on PC/MAC. However, there are some problem with Bumped / Specular Shader on iPhone. Please take a look to the below picture on my iPhone 6:

    IMG_2569.PNG

    There are some glow on the floor. I've already tried many shader such as Bumped/Specular, Mobile Bumped/Specular, Mobile Bumped Specular (1 Directional Light) and even adjust the shine value but no hope.

    Best Regards,
    An Truong.
     
  2. Alexey

    Alexey

    Unity Technologies

    Joined:
    May 10, 2010
    Posts:
    1,602
    that looks strange. Please create small repro project that shows the issue and bug report it (and drop case number here)
     
  3. NemesisII

    NemesisII

    Joined:
    Dec 31, 2014
    Posts:
    2
    Thanks Alexey,

    Where can I report the problem ? Right here in this topic ?
     
  4. tanoshimi

    tanoshimi

    Joined:
    May 21, 2013
    Posts:
    297
    No. In Unity, go Help -> Report a Bug.
     
  5. HoMeBoYErik

    HoMeBoYErik

    Joined:
    Mar 12, 2014
    Posts:
    23
    I have the same issue. It seems that it happens on latest iOS devices (as iPhone 6 and iPad 3 Retina) but only occurs when you have more than 1 directional light in the scene. It seems like on mobiles the calculation of light for the second light saturate the value and gives the white spots.
    The same issue doesn't appear on olders iPads. All my devices are running the latest version of iOS 8.0.
    So I think it's an hardware implementation related to OpenGL ES that differs in the newest devices and cause this kind of error
     

    Attached Files:

  6. rroy

    rroy

    Joined:
    Mar 15, 2015
    Posts:
    1
    I am facing the same issue with the survival shooter demo on iPhone 6. After various experiments, I am certain that it is only the floor texture/shader that is buggy. All the other materials seem to work fine. Glad that someone else found it too. Is the issue fixed or does it have a workaround (I tried different texture quality settings but the problem persisted)?

    Thanks An and Alexey,
    Rajarshi Roy
     
  7. nxtboyIII

    nxtboyIII

    Joined:
    Jun 4, 2015
    Posts:
    262
    Same problem here!