Is it possible to overlay two raycast volumes in the same render window?

Here are the changes that (almost) make multi-volume rendering work with shading: