Home Unity

Roughness and metalness maps

polycounter lvl 2
Offline / Send Message
Hassan polycounter lvl 2
Hey guys, I'd like to know where do I have to insert both roughness and metalness maps in the standard shader in unity ? 

Replies

  • Prot
    Options
    Offline / Send Message
    Prot polycounter lvl 6
    Hi,

    There you have the standard material:

    The metalness is the metallic line.
    For the roughness, you have to put it in the alpha channel of your metalness, like alpha in your albedo for transparency.
  • Hassan
    Options
    Offline / Send Message
    Hassan polycounter lvl 2
    Prot said:
    Hi,

    There you have the standard material:

    The metalness is the metallic line.
    For the roughness, you have to put it in the alpha channel of your metalness, like alpha in your albedo for transparency.
    how do I do that , by photoshop? 
  • Prot
    Options
    Offline / Send Message
    Prot polycounter lvl 6
    Exactly!
    Just under the "Channels" tab : 

    After that you just have to copy/paste your roughness.
    Make sure when you will save you keep your alpha, with png or tga.
    When imported in Unity, check if your import settings from the texture are " Alpha Source : Input Texture Alpha". You can verify your alpha in the preview by clicking here:

  • Hassan
    Options
    Offline / Send Message
    Hassan polycounter lvl 2
    Prot said:
    Exactly!
    Just under the "Channels" tab : 

    After that you just have to copy/paste your roughness.
    Make sure when you will save you keep your alpha, with png or tga.
    When imported in Unity, check if your import settings from the texture are " Alpha Source : Input Texture Alpha". You can verify your alpha in the preview by clicking here:

    Thanks very much my friend you are a life saver. 

    I found that "input texture alpha " didn't work well so I changed it to "from gray scale" and it is good 
  • Eric Chadwick
Sign In or Register to comment.