Visibility Transition?

Ok, so i made a mechanic where the AI is invisible and it’s eyes are only visible, but whenever it see’s the player, it’s whole body becomes visible, so this works, but i wanna know if i can make the AI become visible like the transition in this video? ://

This could be done through the material. Creating a material function with scaler parameters that could be manipulated in the blueprint to the material instance.

I don’t know the math myself, but an example on the marketplace is ://

which I have used effectively for create a spawn effect and a dissolve on death effect.