Raytraced distance fields in material

I think I’m starting to getting somewhere with this idea.