Search Unity

Custom shaders (without shader graph)

Discussion in 'UI Toolkit' started by IcyHammer, May 24, 2022.

  1. IcyHammer

    IcyHammer

    Joined:
    Dec 2, 2013
    Posts:
    71
    One of the things we would for sure need in our team in order to switch to UI toolkit is ability to create custom shaders for things like gradient mapping etc... but not with shader graph since we tried shader graph and it turns out the shaders produced with it are way bigger in memory and have worse perfromance (usually around 3x slower according to mali offline compiler tool). Is this something that is being considered?
     
    moo1210 likes this.
  2. mcoted3d

    mcoted3d

    Unity Technologies

    Joined:
    Feb 3, 2016
    Posts:
    1,003
    Yes, this is something we are working on as this is a very common request. But we cannot yet provide an ETA on when this will be available. Since UI Toolkit uses a single shader for all rendering (text, vector, textures, etc.) it makes it more challenging to open the door for custom shaders. But we will get there!
     
    IcyHammer likes this.
  3. IcyHammer

    IcyHammer

    Joined:
    Dec 2, 2013
    Posts:
    71
    Thanks for the answer!