Search Unity

  1. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  2. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

Substance Painter to Unity -- metalness channel displaying wrong

Discussion in 'Shaders' started by BIGTIMEMASTER, Jul 13, 2018.

  1. BIGTIMEMASTER

    BIGTIMEMASTER

    Joined:
    Jun 1, 2017
    Posts:
    5,181
    Top image Substance Painter viewport. Bottom image same texture in Unity.

    I am using a custom shader to pack Occlusion, Roughness, and Metallic into a single file. Roughness has to be flipped for Unity, but what's with the metalness looking so bizarre?


     
  2. sebastiansgames

    sebastiansgames

    Joined:
    Mar 25, 2014
    Posts:
    114
    I haven’t used Substance Painter— but it looks like maybe SP has a default skybox that’s reflecting in the metal? Looks like the metal in Unity is reflecting a plain grey background which looks weird since we’re not used to seeing metals reflecting nothing. Maybe a Unity skybox will make a difference.
     
  3. sebastiansgames

    sebastiansgames

    Joined:
    Mar 25, 2014
    Posts:
    114
    You might also try a reflection probe.
     
  4. BIGTIMEMASTER

    BIGTIMEMASTER

    Joined:
    Jun 1, 2017
    Posts:
    5,181
    Ah, thanks for the reply. I had forgot I made this thread. Turns out, I had several issues causing this problem.

    1. The custom shader was missing some terms. This part is beyond me, but the creator of the shader fixed it pretty quickly.

    2. Lack of reflection probe.This is jsut something I didn't know about. Well, now I do.

    3. I needed to clear some baked lighting data.