Is it possible to determine the nearest mesh from the signed distance field?

Little bit of a vague question but is there any direct way to link a value in the signed distance field to the closest mesh geometry? I’m looking into methods of getting mesh surface information like textures or normals from 3D coordinates or particles without adding some kind of bounding volume.

The distance field data only gives you the distance to the nearest surface, you can get the direction to the nearest surface as well using the gradient node. You don’t get any other data. So you don’t know what you are hitting or which color etc…
If that were the case we would have dynamic GI and dynamic reflections by now :stuck_out_tongue:

Thought so :slight_smile: ran a bit through the source, got a little curious about the distance field atlas, but couldnt see how to link through it and came to the same conclusion.