Seaside Studios
3D Shader
3D Shader
  • What is All In 1 3D Shader
  • Overview
  • First Steps (Must Read)
  • URP And Post Processing Setup
  • Asset Component Features
  • Asset Window
  • Saving Prefabs
  • Convert Materials to 3D Shader
  • Light Models
  • Effects List
  • Scripting
  • Batch Override Materials
  • How to animate effects
  • Advanced Configuration and Key Rendering Concepts
  • How to Enable/Disable Effects at Runtime
  • Random Seed
  • Scaled Time
  • Outlines
  • Wind Effect and Wind Controller
  • Depth Coloring - Stylized Fog
  • Shadow Color
  • Fast Lighting
  • Performance Considerations
  • FAQ (Frequently Asked Questions)
Powered by GitBook
On this page

Random Seed

PreviousHow to Enable/Disable Effects at RuntimeNextScaled Time

Last updated 1 month ago

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 this component to the Gameobject that has the Renderer (like Mesh Renderer, Skinned Mesh Renderer, Sprite Renderer...) that you want to affect:

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: