Search Unity

  1. Unity 6 Preview is now available. To find out what's new, have a look at our Unity 6 Preview blog post.
    Dismiss Notice
  2. Unity is excited to announce that we will be collaborating with TheXPlace for a summer game jam from June 13 - June 19. Learn more.
    Dismiss Notice
  3. Dismiss Notice

Question outline shader that produces a shaking animation

Discussion in 'Shader Graph' started by marlon1748, Mar 1, 2024.

  1. marlon1748

    marlon1748

    Joined:
    Mar 27, 2018
    Posts:
    2
    Hello everyone.

    I’m new to this topic, and I’m having difficulty creating an outline shader URP that produces a shaking animation, similar to the animation in ‘Du, Dudu n Edu’ where the lines tremble. I’ve created this shader graph, but it’s only partially working. When I apply the shader to a rounded object, the outline becomes distorted, but when I use it on a straight object like a cube, the outline remains undistorted.



    Thank you in advance.
     
  2. POOKSHANK

    POOKSHANK

    Joined:
    Feb 8, 2022
    Posts:
    382
    you should add the vertex displacement instead of multiplying
     
  3. marlon1748

    marlon1748

    Joined:
    Mar 27, 2018
    Posts:
    2
    the cube didn't have enough vertices
    upload_2024-3-2_21-12-39.png