Do a search for volumetric fog. Since it works with a model you may be able to get the effect by animating the model. I don't have any code for it but I think it was explored in a thread "back when".