magazine material in cycles?

magazine material in cycles?
glossy + diffuse
simple!
but…
how…>?
randomize the textuere! but how?
i’m making a book shelf…
so…
any help?
though i don’t think any needs it, here’s some refrence hpotos:


Here’s a node group that might work for you.


This example will randomize 5 color info inputs, but it shouldn’t be too hard to figure out how to change it for other numbers of inputs.