I have a shader here that is supposed to collapse towards a reference point, like a worm hole. So far I have the vertex offset pulling towards the point properly and the collapse happens but the numbers go beyond 1 and it starts inverting the collapse of the mesh. I cannot figure out how to collapse towards the object and stay collapsed without inverting.
Here is my node setup


I am trying to recreate this shader from this post:
https://deepspacebanana.github.io/deeps ... der-Effect
