Making fabric shaders that work in both iray and 3dl

I have lots of seamless fabric tiles I have collected and would like make shaders that work in 3dl and iray. Someone said it could be done but I have yet to find instructions on how to accomplish this. Uber Iray even? I have made 3dl fabric shaders before and have played with the uber iray shader builder, its the part about making them working in both that I don't understand.
Comments
Oh, maybe some translucency, for more sheer fabric.
Thanks! I'm sorry I didn't say thanks earlier. I was hunting free shader on ShareCG and guess who's pack of procedural shaders I'm getting to study? Thanks not only for the help and advice but also for sharing those shaders. Its kinda neat getting to say hi to one of the artists. Where else does that happen? I'm glad your active here too.