How to use transparency on opacity mask (Or achieve similar results)

Hello,

I am trying to replicate an animated UI material from Cult of the Lamb (the pause menu).

So far, I was able to create the animated flame-like effect by panning a noise texture, combining it with a gradient, and plugging the results into an opacity mask. However, the problem is I cannot find a way to process the results further. The original plan is to take the output and multiply it with a const3Vector to alter its color & transparency, but as far as I can tell, opacity masks cannot be used with transparency.

Is this issue potentially solvable with material functions? Perhaps there is some way to make a MF outputting the results of the opacity mask and I could use that in a translucent material?

If the suggested solution does not work, I am open to any and all suggestions.

Screenshot of my material:

Screenshot of target effect for those unfamiliar with Cult of the Lamb:

I am heading to bed, but I’ll reply as soon as I can.

Thanks,

R.