On this page there’s some info on mesh distance fields under the Software Ray Tracing section: Lumen Technical Details | Unreal Engine Documentation
There’s a global project setting along with settings for each mesh you can adjust. Check your visualizer first and see what they look like.