Dispersing material

i want to make a material where if i get close to it the material will start too disperse getting away from me and when im not in the vicinity it starts too group up again as it was. Example walking in a hallway all covered in black moving goo and i have a torch and while walking through the hallway the goo close to me starts dispersing and when the torch is not in the vicinity that section gets back together. i dont want it predetermined i want it completely dinamic so if i get close to a wall to just because i want too it disperses there too. Please help! :3

Here is one possible solution:

This is how it looks in motion:

The material is set to be two sided. The more vertices the mesh has the better the displacement is going to look, but of course you can drop the world position offset branch entirely don’t want to worry about it.