Sort polygons by z-coordinate when rendering. For now, I'm just using the z-coordinate of vertex 0.