shader with multiple input tex2d - combining them similar to layers of transparents in photoshop

how do you simply combine multiple input tex2d’s on a shader, similar to how multiple layers of transparents would look in photoshop

You have multiple tex2d texture sampler lookups in the fragment shader, and then “combine” the results for each pixel using whatever method you want - addition/subtraction/multiplication/max etc.