Blender cycles - Diffuse + transparent map in one material So I'm trying to make a material by using two maps: diffuse and transparency map but I can't get these two maps to work together.

This is how my nodes and specific textures are looking.

https://imgur.com/a/giSp9eH

I hope that the issue is perfectly visible. I just want to "cut off" this black part of flag to make it look like a torn fabric by using diff and trans like in PBR.

Thank you.
The last node, that you need to plug into material output is a Mix node, that mix your material node(diffuse, principled ets) and transparent node using mask:



Full setup:



Next you can plug more complex material instead just diffuse node. For example, principled, just keep mix with transparent node at the end: