Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. We have updated the language to the Editor Terms based on feedback from our employees and community. Learn more.
    Dismiss Notice

Question Shader Graph + Canvas Group alpha

Discussion in 'Shader Graph' started by Nimdanet, Apr 6, 2022.

  1. Nimdanet

    Nimdanet

    Joined:
    Jan 19, 2013
    Posts:
    38
    I made a really simples custom shader on shader graph and added it to a Material and this Material to the Material property of an Image in inspector.

    Screen Shot 2022-04-06 at 18.02.39.png Screen Shot 2022-04-06 at 18.03.33.png

    I added a Canvas Group to the root of these objects but when I change the alpha property it doesn't change the Alpha of the Image with my custom shader.

    Is there any property I should add to my Shader to work with Canvas Group alpha?
     
  2. TEDinc

    TEDinc

    Joined:
    Mar 19, 2018
    Posts:
    1
    U get alpha from Vertex color
     
  3. ITEnot

    ITEnot

    Joined:
    Sep 14, 2018
    Posts:
    3
    upload_2023-4-14_16-23-25.png
    Works in shadergraph 14.0.6