Search Unity

PBR shader Graph node mix layers of SVG Image, what should I do?

Discussion in 'Shaders' started by znbmir, Jul 21, 2020.

  1. znbmir

    znbmir

    Joined:
    Sep 10, 2018
    Posts:
    4
    Hello every one,
    I want to create shader graph to have color and shadow of SVG images.
    I use vertex color node in my shader graph like following:
    Screen Shot 2020-07-21 at 6.50.04 PM.png
    every thing seems work for me except when I have SVG image with several layers, it won't work fine.
    Screen Shot 2020-07-21 at 7.01.22 PM.png Screen Shot 2020-07-21 at 7.02.31 PM.png

    layers of my image are mixed. I have found PBR master node doesn't support height map and I was thinking maybe it is the issue. Could you please help me to fix this problem.
     
  2. znbmir

    znbmir

    Joined:
    Sep 10, 2018
    Posts:
    4
    Hello again,I found the answer and put it here for those who are struggling
    with this problem:
    .png