Effect from Intersecting Objects

Hey y’all,

i have a problem that needs solving. I’m trying to create an animation involving atoms and molecules and I want to create an effect with my materials where when two spheres intersect one another it creates a glow at the point where they’re intersecting. I can’t figure out what I have to do to achieve that in the node editor. Anybody have any ideas?

I think drivers would be the thing. http://wiki.blender.org/index.php/Doc:2.6/Manual/Animation/Basics/Drivers