Publisher | Vadim Andriyanov |
---|---|
File size | 849.66kB |
Number of files | 31 |
Latest version | 1 |
Latest release date | 2019-03-13 06:59:08 |
First release date | 2016-08-11 08:59:21 |
Supported Unity versions | 2018.4.2 or higher |
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
Documentation
NOTE: Shader Model 2 is not supported (Wireframe shader use Shader Model 3) see: #pragma target 3.0
Please make sure to disable *Optimize Mesh Data option in Project Settings -> Player tab.
Features:
♥ Wireframe projector;
♥ Variable Color;
♥ Variable Thickness;
♥ ZTest;
♥ Barycentric coordinates calculator;
Demo Scene: Battlehub/Wireframe/Demo/Wireframe.unity
Documentation
NOTE: Shader Model 2 is not supported (Wireframe shader use Shader Model 3) see: #pragma target 3.0
Please make sure to disable *Optimize Mesh Data option in Project Settings -> Player tab.