If you Log in you could create a "z-buffer" node. If you don't already have an account, you can register here.