Search Unity

Normal/Bump maps not working with iphone unity

Discussion in 'iOS and tvOS' started by Raptor5399, Apr 21, 2009.

  1. Raptor5399

    Raptor5399

    Joined:
    Sep 25, 2007
    Posts:
    94
    They work fine in regular unity but using the same setup steps on the iphone version doesn't show my texture. My normal map is just ignored.

    The only thing that happens when I select a shader with bump or parallax as an option is that I got some strange rippling effect on my model. The effect is there regardless of any textures being set to the bump effect... and when I set a texture the rippling stays and I cant see my texture.

    I don't understand why it wont work on the iphone version :< Anyone know what to do?

    CEH
     
  2. Eric5h5

    Eric5h5

    Volunteer Moderator Moderator

    Joined:
    Jul 19, 2006
    Posts:
    32,401
    The hardware doesn't support it.

    --Eric
     
  3. Raptor5399

    Raptor5399

    Joined:
    Sep 25, 2007
    Posts:
    94
  4. Eric5h5

    Eric5h5

    Volunteer Moderator Moderator

    Joined:
    Jul 19, 2006
    Posts:
    32,401
    iPhone hardware does not do pixel shaders like computer hardware does. Theoretically there's some kind of normal mapping that can be done, but it's done in a quite different way than the Unity shaders do it, and the couple of independent shader attempts I remember reading about didn't seem to get it working. I'm not sure it would be fast enough to be particularly worthwhile anyway.

    --Eric
     
  5. Raptor5399

    Raptor5399

    Joined:
    Sep 25, 2007
    Posts:
    94
    Well there's no way I would get it working then lol

    Thanks