A simple 3D method that I came up with myself. This can be slightly modified for a first-person view.