Projecting mesh on a plane


I would like to project a silhouette of a mesh hovering over a plane onto that plane.
I would like it to be mesh dependant. Currently what I do is I render the silhouette in 3dsMax and use it as a mask for a decal. However, I have to set it up for each and every mesh. Is there a way to do it dynamically?