Imagine doing the other sides of the cubes. Now orthogonal layers will be intersecting. There&#x27;s no correct order in which to draw intersecting polygons. You either need to split them (and then you&#x27;re back to where you started), or you need Z-buffering.