As far as I know the distance field has no way to distinguish whether the nearest surface is itself or something else. But you can sample the distance field from a different position. It’s common to offset the sample point (often along the vertex normal) from the mesh.
2 Likes