Search Unity

Help Wanted Color in editor and no color in game

Discussion in 'Shader Graph' started by Mawkey, Jul 19, 2019.

  1. Mawkey

    Mawkey

    Joined:
    Apr 15, 2018
    Posts:
    8
    I tried to make a shader using Shadergraph and I added some color to it and applied the shader to my UI.
    In the editor it shows the color and in game it's just black. Does anyone have any idea what is causing this? Thanks.
    I would post a video showing the issue at hand, but the anti spam stops me from doing so.
     
  2. alexandral_unity

    alexandral_unity

    Unity Technologies

    Joined:
    Jun 18, 2018
    Posts:
    119
    Shader Graph doesn't officially support UI yet, depending on how you've set yours up that might be causing the issue
     
  3. Mawkey

    Mawkey

    Joined:
    Apr 15, 2018
    Posts:
    8
    I've put the shader in a Canvas with an image component. The image component has the Material with the shader. It's animating correctly but there is no color sadly...
     
unityunity