I imagine...
you could render the models depth from the lights view and do a bit of multiplying to the final...with some tricks (tolerance and blurring...depth lookup)in between..
BTW: I cannot write a shader to save my behind.


Everybody Poops.
here are some tutorials I made.
http://www.acknexturk.com/blender/