alpha_strike had this effect in his zombie game if I remember correctly, and I think he did it with decals, however, I have no idea how. I don't think a shader would solve your problem anyways as decals (again, if I remember correctly) do not work with shaders.