A demo demonstrating using a shader to create custom view ports in unity3d.
Use the arrow keys to move the blue block and ‘wasd’ to control the red block. Move the blocks away from each other to see the effect.
Youtube video if you can’t get the player working:
Tutorial showing how to use the custom view ports in unity3d free version.