title: GLSL, Array of textures of differing size
body: <p>When doing multitexturing in GLSL, is there anyway to have an indexable array of samplers where each texture is a different size? This syntax isn't valid:</p>
  
  <pre><code>uniform sampler2D texArray[5];
  </code></pre>
  
  <p>Right now it seems like the only option is to individually create the samplers:</p>
  
  <pre><code>uniform sampler2D tex1;
  uniform sampler2D tex2;
  uniform sampler2D tex3;
  uniform sampler2D tex4;
  uniform sampler2D tex5;
  </code></pre>
  
  <p>But then I can't iterate through them, which is a real pain in the ass.  Is there a solution?</p>