Search Unity

Question 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:
    472
    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.