Search Unity

  1. Unity 6 Preview is now available. To find out what's new, have a look at our Unity 6 Preview blog post.
    Dismiss Notice
  2. Unity is excited to announce that we will be collaborating with TheXPlace for a summer game jam from June 13 - June 19. Learn more.
    Dismiss Notice

no shadows on full-metal materials? [Unity 5]

Discussion in 'General Graphics' started by XRA, Mar 9, 2015.

  1. XRA

    XRA

    Joined:
    Aug 26, 2010
    Posts:
    265
    Just trying out Unity 5, noticing that shadows don't show up if the material has Metallic set to 1 (or an all white texture). If I drop the metallicness towards 0 the shadows start showing up, this goes for baked and realtime shadows.

    Is this a bug? It looks incorrect to me.

    *edit* The thing that comes to mind, is maybe full white is behaving more like a mirror. But most of the PBR information I've read everyone is always just like "black is non-metal, white is metal".. so it seems odd.
     
    Last edited: Mar 9, 2015
  2. AcidArrow

    AcidArrow

    Joined:
    May 20, 2010
    Posts:
    11,958
    Full metal materials are supposed to be fully reflective, so no, no shadows.
     
  3. Zomby138

    Zomby138

    Joined:
    Nov 3, 2009
    Posts:
    659
    Just like in real life! You can't cast a shadow on a mirror. It's worth noting that most real life metals are a long way from fully metallic. Check that PBR charts, and that before you take into account all the dust and stuff that's normally on them.
     
  4. Jandaia

    Jandaia

    Joined:
    Dec 8, 2012
    Posts:
    5
    If I do a full metallic material but with 0.5 smoothness ( not full reflective) , I still get no shadows. Is this correct?
    It does not look convincing.

    I do agree that a 1.0 metallic with 1.0 smoothness should have no shadows.
     
  5. Zomby138

    Zomby138

    Joined:
    Nov 3, 2009
    Posts:
    659
    Technically correct although almost impossible for such a material to exist in real life.