Make a trapeze view distortion

I have been using the postprocess effects to distort the view of my camera. I found a fish-eye example and I implemented it. Now, I have been trying a trapeze distortion, in open cv it is called wrapPerspective, but in the material editor of unreal I have not found anything same. Here some open examples:

1.png

]

I have a rectangle at center of my cam, but when I move the cam this rectangle change its form to a trapeze, then, I want to reverse that distortion with the post process effect.

Here is the image with the rectangle at the center of camera.

And here is the image when I move the camera to the right.

I don’t if I am making it in a wrong way. If anybody know how to make this I would thank so much.

Thank you for reading.