Search Unity

  1. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  2. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

Resolved Shader Graph and Unity UI

Discussion in 'Shader Graph' started by Lo-renzo, Mar 3, 2021.

  1. Lo-renzo

    Lo-renzo

    Joined:
    Apr 8, 2018
    Posts:
    1,503
    According to the product board, a planned feature is UI Integration with Shader Graph: "You will be able to use Shader Graph to create custom UI shaders."

    With a Sprite Unlit shader, this seems possible already. It appears to work just fine.

    In what context is this broken?
     
  2. Korindian

    Korindian

    Joined:
    Jun 25, 2013
    Posts:
    584
    From some tests I did earlier today, I noticed masking in the UI doesn't work with Shader Graph shaders for the UI out of the box. Perhaps it's possible by editing the generated code by hand or by some other means I'm not aware of.
     
    Lo-renzo likes this.
  3. lilacsky824

    lilacsky824

    Joined:
    May 19, 2018
    Posts:
    171
    Shader Graph don't support stencil mask now, so it will be a problem such as on scroll view.
     
    curtispelissier and Lo-renzo like this.