Random Values in Cycles Materials

The age old question of how to get truly RANDOM values into the Cycles Shader Node Tree has been solved. Using some trickery and workarounds courtesy of Jacques Lucke’s wonderful Animation Nodes, we can finally send truly random values into a Cycles Material.

In this demo you’ll see how to create random float/grayscale values, vectors, and colors, animate them, and loop them to introduce all sorts of discord and natural chaos into your scenes.

Make sure you download and install animation nodes to make this work: https://animation-nodes-manual.readthedocs.io/en/latest/user_guide/install/install.html

To extend this functionality even further, you can take our procedurally generated number from Animation Nodes and multiply it with the Object Info <random> output to get a different random number for every object!

Here is the tutorial: