Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. Dismiss Notice

Resolved How to mimic URP Metallic Alpha in Shader Graph

Discussion in 'Shader Graph' started by Jeremy-Borton, May 2, 2022.

  1. Jeremy-Borton

    Jeremy-Borton

    Joined:
    Oct 21, 2015
    Posts:
    63
    I created a dissolve shader in shader graph from a tutorial from brackeys. I add properties, and got a nice effect. But when I have two meshes side by side with one having the URP/Lit Metallic Alpha material, and the other having my custom shader graph material; they were different.
    Through testing I found that when I changed my URP material source to Albedo Alpha instead of Metallic Alpha, the two materials were identical. That's what I want! I don't like the Albedo Alpha look. I want my custom shader graph material to be of source Metallic Alpha, not Albedo Alpha. I just don't know how to do it in shader graph.

    Thanks for any help. I'm a little new to shader graph. But I really like it so far!
     
  2. Jeremy-Borton

    Jeremy-Borton

    Joined:
    Oct 21, 2015
    Posts:
    63
    Never mind, I figured it out.
    I just had to set the smoothness to .5 in shader graph, and that matched the metallic alpha source perfectly from the URP/Lit Metallic alpha.
     
  3. joaoGrem

    joaoGrem

    Joined:
    Apr 6, 2019
    Posts:
    2
    i have the same problem but the solution didn't work


    I want to put metallic alpha in my shader graph
     
  4. FlyingSquirrels

    FlyingSquirrels

    Joined:
    Sep 18, 2015
    Posts:
    77