How to Create an illusion Effect with vertices displacement?

I want to make a tunnel rush game but am stuck at the curved part. how I can achieve it and how I can make player movement according to that? I found the solution on the internet but I don’t know much about shader manipulation

here is a video part: The Makings of Tunnel Rush | Using Unreal Engine - YouTube

how i can achieve this kind of illusion effect? kindly help me with it