How to use an opacity mask in a material in Blender Cycles? Following a tutorial about creating a stylised tree, I ran into a problem. The tutorial is for Maya instead of Blender and Substance Designer. I modelled on Blender.

In the tutorial for Maya they manage to insert the basic color map and the opacity mask well, which I can't do in Blender. I have attached images with the problem. I tried to search on the net but I can't achieve showing only the leaves and the branches as it happens in the tutorial.
there are some wrong inputs in your image
basic mask setup in blender: