There is another way. See if you can get your hands on the Speedrender shaders. (they have a great shader for doing just what you want, in one pass)
Imagica, used to have them as a free download, but it looks like they are gone now. Maybe some one still has them and could forward them to you? I've got them somewhere, if I find them, I'll let you know.