Shader graph: Force shield with hits

Using Unity 2019.2.1f1, LWRP 6.9.1 and Shader Graph 6.9.1. You can get the article’s code and shaders here.

I saw the tweet by Cyanilux and found out that Shader Graph’s Custom Node now supports arrays. So I decided to finish my Shield shader, for which I wrote a double-sided mesh generator previously. Also, Cyanilux already posted his shader breakdown.

As the mesh for the shield, I use double-sided mesh generated from Unity’s built-in sphere. I described the Depth intersection part of the shader graph in this article.

Simple shield

Click to view full graph
Read More »