Lens Effect

I was wondering if it is possible to create a lens effect while looking at an object, for example, if the camera is looking at a cube, i want everything behind the cube to seem closer. I tried using shaders but I can only reach a transparent effect…and I know it’s possible to manipulate the camera’s FOV, but I wanted to know if this is possible.

Those kind of effects are usually created by using render targets. You render everything behind the cube into render target, and then you map your RenderTarget texture on your cube with projection mapping and slight displacement (in order to create lens effect).