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