Wipe transition between two cameras

How can I implement an horizontal wipe transition (controlled by a slider) between two cameras which share the same perspective, like this:

Slider

I need to keep the same perspective on both cameras, so simple changes to the viewport or field of view will not achieve the desired effect. Basically, the effect would be equivalent to applying a 2D mask on the front camera.

Thanks.

Use a plane with a depthmask shader, which you can slide in front of the camera, so that it reveals the other camera. See here for more info on the general technique of using a depthmask shader on an object.