depth test of multiple objects