What if I want to deform the perspective of the camera

My viewport perspective looks like this, due to translation and rotation of the camera.

before.png

What I should do if i want to deform the perspective so it fills the screen like this?
I tried with postprocess but I couldn’t get the result I want.

after.png

Thank you very much.