So i have been trying to control the intensity of the emission map in such a way that at random intervals it goes off, I want to use it on the eyes of the creature, having trouble with the random part, any help would be apreciated
I would have a C# script handle the blinking timing and have a boolean inside my shadergraph controlling wether or not there is emission. For example, draw a new random number between 1 seconds and 3 seconds each time you blink.
And then you set the IsBlinking boolean with Material.SetFloat or Shader.SetGlobalFloat. Set to 0 or 1 as there is no set boolean method.
Is this for only one or many creatures ? Because with this method they would all blink at the same time unless you let Unity create a copy of your material for each creatures and give them each their own random intervals.
