Highlight overlapping mesh material

Hi, I need to make a material that is translucide, and that change the base color to emissive of any mesh getting in the meshes that uses this said material.
I really don’t know where to begin with. I tried a decal children of a cylinder but the decal only have a cube shape or radial shape which gives unwanted results.
Please can someone help me?