Help with a spreading filetextures


I’ve got a directory full of textures that I’d like map to a spread of quads. Using the Dir node, I’ve got an IOBox (String) node full of the paths to all my textures.

I’d like to plug this spread into a FileTexture node and then into a Quad node. Then I’d like to be able to randomly apply a texture to each Quad (where there may be more Quads than number of textures), but at the moment I really have no idea how to approach this. I’d imagine its probably pretty simple. Can anyone explain how I might do this?


you might want to use a random node (in integer mode) and use it together with getslice (node) inbetween the filetexture and the quad nodes.