Technique for Automatic Lava Flow?

I assume we are speaking about this UDK mat:

If that is the case, there is no flow calculation. For RB and GB projections, B is being incremented by 0.25RainSpeed, while R and G are shifted by 0.01RaindSpeed. So thats… not really down. It is close to vertical, but only in projection space. RG projection is simply being panned by 0.01*RainSpeed, just so that it does not appear being still.
This way it is relatively cheap, and it is hard to note the actual direction of the water. Fake, but cheap and efficient. That will be not as cool for lava.

That is why I imply on possibility of calculating actual flow direction, based on relation of vertex normal or explicit normal to world down vector. You would follow the same logic, as calculating it in tangent space, but do it for projection space instead. I will try to sketch a quick MF example, if I have some time later today or tomorrow.