Skip to content

Random Seed

Many effects, like most of the the UV and Mesh effects, will use Time to animate. The Time value is the same for all instances, meaning that all instances of a material, will by default have the same animation timing and will look synchronized with each other. To give each Material instance a random time you’ll need to add the All In 13D Shader Random Time Seed component to the Gameobject that has the Renderer (like Mesh Renderer, Skinned Mesh Renderer, Sprite Renderer…) that you want to affect. It picks a random offset between Min Seed Value and Max Seed Value when the object starts:

The All In 13D Shader Random Time Seed component with Min Seed Value 0 and Max Seed Value 100
Four cards sharing one scrolling, distorted material move as one, and the same four with the component each move at their own time

The component uses a Material Property Block, so it replaces any block you set on that Renderer yourself, and the Renderer stops using the SRP Batcher.

And as a reminder, to have materials visually update in the Scene view check the Always Refresh option in the top right corner of the Scene Window:

The dropdown of Skybox, Fog, Flares and other effects at the top right of the Scene Window, with Always Refresh ticked