- Home /
Question by
unity_L6xmfNFURMtf4Q · Jul 11, 2018 at 07:54 AM ·
c#unity 5shaderblinking
How to blink a color in unity (legacy shaders/difuse) which is the main color.,
From the image , is there a way we can blink the main color which is white ? "blinking". how would it be possible ? cause i wanted to use it on the character once he hit an object.
,
screen-shot-2018-07-11-at-35207-pm.png
(25.6 kB)
Comment
Blinking isn't a clearly defined term that I can interpret exactly as you intend.
It could be, for example, a switch between white and pink at 4 times per second, for a duration of 2 seconds.
It could be a glowing effect around the player.
You can, for example, change materials, so you could have a material that is "standard" and a "blink" material which you switch in and out over time at the appropriate moment.
You can alter the parameters of a material to change the color.
You might switch in post processing effects to create glowing during the blink.