Adding files in folder as textures
Hi,
I have a folder with thousands of images and I want to load them (randomly) as a texture to a specific transform (face) and then after some time, chose another random texture from this folder to replace the existing one.
I am able to make a script that takes a list/array of images/textures and cycle through them.
So there are few questions:
1. Is there a way to load these images automatically in this folder?
2. How do I randomly select them ?
3. Cycling through them, I want to fade one image out and fade the next one in. Is there a way to do this in the script?