dont use depth in 2d layer