I have a glowing object(point light attached to a ball with a default shader with the emission property) in my scene and I've added a script to make the point light flicker. The script randomly changes the intensity of the point light to make it flicker. Since I'm using an emission shader the ball does can also be seen without light. I'm using HDR values in my emission shader and by changing the Value in the HSV Color picker I can change the color of the ball to black.
I need help in linking the value of the HSV color on the emission shader of the ball to the intensity of the point light.
Any help would be useful! Thanks!