Z-depth buffering for HUD