 			struct appdata
 			{
 				float4 vertex : POSITION;
-				UNITY_VERTEX_INPUT_INSTANCE_ID
 			};
 
 			struct v2g

// modified version of "VR/SpatialMapping/Wireframe.shader" from Unity 5.5f2 (added colo, removed stereo support and color by distance)

Shader "UnityLibrary/Effects/Wireframe"
{
	Properties
	{
		_Color ("Tint", Color) = (1,1,1,1)
		_WireThickness ("Wire Thickness", RANGE(0, 800)) = 100
	}


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

				return _LineColor;
			}
			ENDCG
		}
