Added depth testing.