I created an HLSL shader code for my ongoing project where I was tasked to create a magical effect. So I have created this semi-transparent magical effect that freezes enemies and traps them in a spell. I have also attached screenshots of the code for the viewer to see its working or follow along.
A preview of the shader. The entire shader is written in Unity's shader lab HLSL.