Search Unity

Shader Graph - why unlit graph for UI always rendered behind unity default UI shader

Discussion in 'UI Toolkit' started by 4ndik4w, May 14, 2019.

  1. 4ndik4w

    4ndik4w

    Joined:
    Oct 22, 2016
    Posts:
    6
    i create shader using unlit shader. when testing on UI image at Canvas without anything else. the shader is perfectly fine rendered. but when i add UI Text, the Unlit Shader always render behind Text. then i add UI Panel, just the Text is correct render order in Canvas, but not for Unlit Shader.

    how to fix that? or this is bug from Unlit Shader that i can't do anything? please help me.
     

    Attached Files:

    Last edited: May 14, 2019
  2. uDamian

    uDamian

    Unity Technologies

    Joined:
    Dec 11, 2017
    Posts:
    1,231
  3. 4ndik4w

    4ndik4w

    Joined:
    Oct 22, 2016
    Posts:
    6
    thank you so much for your advice sir. :)