The video above showcases the shader I wrote for the popup ad virus ability. I did this with some initial help from Mr. Das, who taught me how to create the initial ring effect using Unity shaders. I then took it a step further and added a mask to it, and also drove the ring by a sine wave so that it would loop between a large and small circle repeatedly.
The code above shows how you can create the pulsating circle effect.
No comments:
Post a Comment