Search Unity

  1. Good news ✨ We have more Unite Now videos available for you to watch on-demand! Come check them out and ask our experts any questions!
    Dismiss Notice
  2. Ever participated in one our Game Jams? Want pointers on your project? Our Evangelists will be available on Friday to give feedback. Come share your games with us!
    Dismiss Notice

Help Wanted Output of master node isn't the same as the output of the node that's plugged into "Color" property

Discussion in 'Shader Graph' started by SuperSparky, May 21, 2020.

  1. SuperSparky

    SuperSparky

    Joined:
    Mar 12, 2020
    Posts:
    1
    When plugging the output of a node into the "color" property of the master node, the appearance of the material differs between the last node and the output of the master node. This problem occurred for both Lit and Unlit sprite shaders. Is there some mistake I'm making that's causing the output not to be the same? Is there a setting that needs to be changed?

    I'm new to working with shader graph, so I apologize if this is a dumb question.

    Edit: My color's alpha value somehow got set to 0 and that's why it wasn't showing up.
     

    Attached Files:

    Last edited: May 23, 2020
  2. chrismarch

    chrismarch

    Joined:
    Jul 24, 2013
    Posts:
    383
    Weird. I'd Saturate RGB and set Alpha to 1 right before the master node, as a test, to see what you get in the Preview (even if the intention is not to have Alpha be 1 once you fix the bug).
     
    Horus_Sungod42 likes this.
unityunity