Search Unity

Can the standard shader have a normal map and a transparent section?

Discussion in 'Shaders' started by Romano, May 20, 2019.

  1. Romano

    Romano

    Joined:
    Nov 27, 2013
    Posts:
    35
    Apologies for asking something that must be answered somewhere else, but I can't seem to find the answer anywhere.

    I have a texture with a hole in it and a normal map that matches, but using the standard shader I can't seem to find a way to make the hole see-through. No matter what settings I change, the hole seems to be filled with lines


    Setting the rendering mode to cutout and messing with the alpha did nothing.

    Thanks very much!
     
  2. bgolus

    bgolus

    Joined:
    Dec 7, 2012
    Posts:
    7,002
    upload_2019-5-20_8-41-13.png
    That setting means the Albedo's alpha is used for smoothness rather than as the transparency. Set that back to Metallic Alpha.
     
    Last edited: May 20, 2019
  3. Romano

    Romano

    Joined:
    Nov 27, 2013
    Posts:
    35
    Thanks very much!