How to apply an opacity mask on several planes at the same time?

I am learning how to make opacity masks.
I was doing this test code and I don’t know how to apply the mask on two planes at the same time.

this is the code:

Is it possible to put the mask on different planes at the same time?

Thank you so much!!

You could use a multiply, min, max depending on the situation. Usually the easiest solution to visually know what each node is producing. Working with black and white is what you should be doing when it comes to the opacity mask.

1 Like

OMG, a simple multiplication did it.
I feel a bit like a fool :sweat_smile:
I will try with maximum and minimum too…
Thank you very much for your help!!
Greatly appreciated!!

Haha, no worries. I am glad that I could help!

1 Like