Search Unity

Question Best way to create UI shaders

Discussion in 'High Definition Render Pipeline' started by Cramonky, Sep 4, 2022.

  1. Cramonky

    Cramonky

    Joined:
    Apr 1, 2013
    Posts:
    186
    Hello,

    I've been looking into creating custom UI shaders, specifically ones compatible with Screen Space Overlay, but it seems like info related to UI shaders and HDRP is few and far between.

    URP has a shader graph specifically for 2D as described here, which various places claim works for UI, but HDRP appears to have nothing similar for that.

    Is the only way to create UI shaders in HDRP to copy the default UI shader source and write the rest by hand, or is there a better way I haven't found?