I am building the texture arrays with the “PVRTexTool”.
Instead of plugging just a TexCoord0 node into the UVs of the texture sample, I just plug this into the UVs:
http://puu.sh/uoost/18f7cb37fb.png
The second UV channel (TexCoord1) has a value between 0 and 255 in the R value, and that value specifies which texture from the texture array is used. That’s all, its really simple.