Dynamic Amount of 2DTextures as Material Input?


for example i want to merge X Opacity Masks.

Each Opacity Mask is a Texture2D.

X is a dynamic Variable.

Is it possible to create a Material with a dynamic amount of textures as input?

For example i create an array of textures2d. Is it possible to plug in and use this within a material somehow and how can i handle all textures within the material? Something like a loop?

Thanks in advance