outline shader that produces a shaking animation

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.

you should add the vertex displacement instead of multiplying

the cube didn’t have enough vertices
8676540--1169463--upload_2022-12-20_18-15-38.png