This is a highly customizable wireframe shader. You can control edges and vertices sizes separately, show lines with color gradients and customize line style.
You can also draw hidden edges with a darker color for a coherent display of high-vertex count models.
Ideal to inspect objects of your model in Unity or to highlight specific objects in your game.
-Requirements: Windows, Unity 5.0.1+, DirectX11
-One shader for all wireframe styles
-Customizable Color
-Customizable line width
-Customizable line style
-Color gradient option
-Display Vertices alone or with edges
-Optional: Make line width independent from distance to camera.
-Optional: Attenuate Backfaces – Draws the wireframe of the faces facing away from the camera with a fading color.