Hi all! Happy black friday! You wanna talk about discounts? this one has been marked off by 100% Take that Wal-mart! I’ve been playing around with Strumpy Shader Editor, a free shader editor for Unity, and I came up with a cool-looking spaceship shield shader. So without further ado, here is the Stopsecret Spaceship Shield Shader (SSSSSS):
Enjoy! How did I do it? Well, I used fresnel to highlight the edges, also, the edges are emissive, giving a nice shield looking glow. I also added two textures, I’ll explain why later. Here’s how you use it:
- Make a new material and attach it to the object of choice
- Give it the ‘rim’ shader
- Add the two textures, if you want more variation, I recommend setting the second texture to a different tiling then the first.
- Attach the ‘Shield Scroll’ script to the object of choice.
- Setting Scroll X and Scroll Y changes the scroll values for the textures, making them look like they are charged with energy. The two textures scroll at different speeds as well, adding just an extra hint of realism.
I hope you enjoyed! If you did, please leave a comment below, it keeps developers like me motivated 🙂