Search Unity

Question HDRP Unlit Shader Graph for Canvas Image

Discussion in 'Shader Graph' started by Ranom, Jan 4, 2022.

  1. Ranom

    Ranom

    Joined:
    Oct 10, 2012
    Posts:
    49
    Hi All,

    I'm trying to create some shader graph materials to use with Canvas Images.

    I've created a simple graph:

    Graph.PNG

    And I can see it working in the scene view (along with a more complex example on the left):

    SceneView.PNG

    But in the game view / play mode it looks like this:

    Play Mode.PNG

    When I change the shader graphs I can see them temporarily recompiling before displaying as all blue.

    Any help would be greatly appreciated. Many thanks,

    Ranom
     
  2. Ranom

    Ranom

    Joined:
    Oct 10, 2012
    Posts:
    49
    From testing I can see it works when the Canvas Render Mode = "Screen Space - Camera"

    Any way to make it work with Render Mode = "Screen Space - Overlay"
     
  3. Ranom

    Ranom

    Joined:
    Oct 10, 2012
    Posts:
    49
  4. Ranom

    Ranom

    Joined:
    Oct 10, 2012
    Posts:
    49
    I haven't had any luck progressing with this. Would this be classed as a bug or missing feature?