Search Unity

Question [solved] Applying a mask on a texture

Discussion in 'Shader Graph' started by BrandStone, Sep 6, 2020.

  1. BrandStone

    BrandStone

    Joined:
    Jul 21, 2014
    Posts:
    79
    I'm trying to add a mask to texture, the main preview looks exactly like it's suppose to but it doesn't look the same in UI:

    upload_2020-9-6_21-44-30.png

    This shader in the UI it looks like this:

    upload_2020-9-6_21-45-27.png

    I'm sure it's something simple as I'm a beginner with shader graph, but I've been trying to achieve this the whole day...
     
  2. BrandStone

    BrandStone

    Joined:
    Jul 21, 2014
    Posts:
    79
    I figured it out. I didn't expose the mask image, I thought that I can add it inside shader graph. It seems not...
     
  3. neoshaman

    neoshaman

    Joined:
    Feb 11, 2011
    Posts:
    6,493
    Texture won't be protected by a mask, tell it to wash his hands after each trip outside
     
    BrandStone likes this.
  4. BrandStone

    BrandStone

    Joined:
    Jul 21, 2014
    Posts:
    79
    :D Will do, stay safe!
     
    neoshaman likes this.