Simple Wireframe is a shader package that could be used to implement various effects displaying ordinary and skinned meshes. In order to work this shader require barycentric coordinates of each vertex . Barycentric coordinates should be written to colors32 array of mesh object. This can be done in one click using Tools->Wireframe->Prepare Mesh menu item (required code included)
Features:♥ Wireframe projector;
♥ Variable Color;
♥ Variable Thickness;
♥ ZTest;
♥ Barycentric coordinates calculator;
Demo Scene:Battlehub/Wireframe/Demo/Wireframe.unity
DocumentationNOTE: Shader Model 2 is not supported (Wireframe shader use Shader Model 3) see:#pragma target 3.0Please make sure to disable *Optimize Mesh Data option in Project Settings -> Player tab.