Why is the depth texture in gbuffer with a white background

If there are no objects in the scene as background, shouldn’t the depth be ZERO?

No, the default depth value is 1 because the default depth function is “LESS”, meaning a pixel is visible if its depth is less than the value in the zbuffer.