Search Unity

Question Trailing glow around ui border

Discussion in 'Shader Graph' started by UDN_5c806b49-d8a0-4f67-a296-c12c91aa7396, Feb 23, 2020.

  1. UDN_5c806b49-d8a0-4f67-a296-c12c91aa7396

    UDN_5c806b49-d8a0-4f67-a296-c12c91aa7396

    Joined:
    Jan 9, 2017
    Posts:
    152
    Hello, how do I go about doing an avatar that has a trailing shine glow around its border that's animating in circle? Something like the avatars in mobile legends?
     
  2. Livealot

    Livealot

    Joined:
    Sep 2, 2013
    Posts:
    228
    You might try doing it in 2 steps:
    1. create the rotating glow, like a radar sweep
    2. then apply a mask to that sweep that matches the border
     
  3. UDN_5c806b49-d8a0-4f67-a296-c12c91aa7396

    UDN_5c806b49-d8a0-4f67-a296-c12c91aa7396

    Joined:
    Jan 9, 2017
    Posts:
    152
    That will give it a trailing shine only on the edge of the borders? Sorry, I'm new and learning...
     
  4. unity_WUi_o06Ke7bSZA

    unity_WUi_o06Ke7bSZA

    Joined:
    Oct 3, 2020
    Posts:
    1