Custom Sampler Arrays on MAT?

In the wiki there is mention of Sampler Arrays being a available. I know that TD creates the Input arrays for GLSL TOPs ( eg uTD2DInputs[] ) but I’m curious if there is any way to harness this functionality in a MAT. I imagine the construction of the array occurs outside of the shader though, so maybe there’s now way to create it in the GLSL code by referencing the samplers from the samplers page of parameters?

I think in your main() you could build up a new variable which is an array of samplers, and assign your individual samples to the entries in the array. Then could loop through them. There is no way to have them come in as a uniform which is setup as an array right now though.