Search Unity

Canvas UI Mesh additional UVs

Discussion in 'UGUI & TextMesh Pro' started by Gregnaut, Jun 6, 2019.

  1. Gregnaut

    Gregnaut

    Joined:
    Jan 1, 2019
    Posts:
    5
    Hi!

    I want to create UI shaders (Amplify or Shader Graph) for sliced sprites, but i need them to have 2 UV sets, UV0 "sliced" as it is right now, and UV1 linear/normalized across whole UI mesh (button or image) for additional effects.

    What is the best way to add that kind of UV1 set?

    Unity_2019-06-06_20-38-45.jpg
     
    Last edited: Jun 6, 2019
  2. Le-nain

    Le-nain

    Joined:
    Nov 26, 2012
    Posts:
    62
    Hey, sorry for necroing this post without answer but... did you find a way to do that? Thanks!
     
  3. Alexander_V

    Alexander_V

    Joined:
    Feb 26, 2020
    Posts:
    8
    Intrested too