 // modified version of "VR/SpatialMapping/Wireframe.shader" from Unity 5.5f2
-// added colors, removed stereo support and color by distance
+// added colors, discard option, removed stereo support and color by distance
 
 Shader "UnityLibrary/Effects/Wireframe"
 {

				// Early out if we know we are not on a line segment.
				if(minDistanceToEdge > 0.9)
				{
					return _FillColor;
				}

				return _LineColor;

			#pragma vertex vert
			#pragma geometry geom
			#pragma fragment frag
			#pragma multi_compile _ USEDISCARD_ON
			#include "UnityCG.cginc"

			float _WireThickness;
