Shaders in Unity
Shaders let you create cool effects like dissolve, energy shields.
There are a few ways to use them:
- Use an asset pack. For example I have used this asset in one of my project for its great looking energy shield.
- Make one with Shader Graph. See https://www.youtube.com/watch?v=Ar9eIn4z6XE.
- Write one yourself. You can use a few languages. https://docs.unity3d.com/Manual/ShadersOverview.html.
What I'd do is look at how some of the free shaders have been implemented. Then if you need to make one yourself, do it in Shader Graph. Its drag and drop feature is much faster to use and tweak than coding it out.
Here's another video using Shader Graph on how to make an energy shield. https://www.youtube.com/watch?v=NiOGWZXBg4Y
One possible drawback of Shader Graph is you can't document what it is that you are doing. In a way, the preview of each node is the documentation.
Here's a post which details how depths works. https://www.cyanilux.com/tutorials/depth/