Best way to approach visual feedback on models?

I was thinking of making a battle system where 3D enemies can blink red when taking damage, and fade out upon death. I can think of multiple ways of doing this.

Off the top of my head I’d pick shaders, and just changing the shaders for the enemy object for short durations. But I wanna know if there are either easier or more efficient ways of doing this.

Hi,

I would probably go with shaders depending on the look. But you could also have some mesh that you toggle on/off or scale. You could also use some type of silhouette-outline effect, too. But all that depends on art direction and style you are going for. I don’t think it will get much easier than having a shader and then adjusting from code some parameter like color that you would make temporarily red and then fade back to normal.

1 Like