Hi! I wanted to create a shader which will make a sprite turns white for a very short time like in retro games where enemy character flash white when it takes damage.
I tried using Sprite Color in Sprite Renderer component, but white can’t tint a sprite.
My game is a 2D platformer which has some “ghost” unit which are transparent. I want the white flash to also maintain the Sprite Renderer alpha value.
I am very new to shader, even with shader graph…
Any help is appreciated