Flat Dynamic Fog Material

Hi!, I have a fog diffuse texture and a mask.


Fog_MASK

I want the fog texture to appear only in places of green color. How to set up material to do that? Thanks in advance! :slightly_smiling_face: