Randomly assigning materials

I’m working on a scene with blueberries and I will have 4 different textures, how do I randomly assign these textures to 100+ blueberries?
Cycles

Cycles or Bi?


Cycles
vbvvafsv

one possibility is to use input>object info>random value in a cascade mix…
something like this:


I’m using 4 procedural textures (honestly might just manually assign .-.)

Secrop’s method would would work exactly the same for procedural textures. There is no need to manually mix hundreds of berries.

procedurals work in the same way… just plug the final procedural color into the mixRGB’s. (this even work with end closures, just by changing the mixRGBs for mixShaders)
And you can also use that random value to drive some parameter in your procedurals setup.

edit: Photox beat me :slight_smile:

It worked! Many thanks :slight_smile: