I am having trouble compiling a SurfaceShader when adding the COLOR1 Semantic to the v2f struct.
struct appdata
{
float4 vertex : POSITION;
float4 tangent : TANGENT;
float3 normal : NORMAL;
float2 texcoord : TEXCOORD0;
float2 texcoord1 : TEXCOORD1;
float2 texcoord2 : TEXCOORD2;
float4 color0 : COLOR0;
float4 color1 : COLOR1;
};
Vertex program ‘tessvert_surf’: unknown input semantics COLOR/1
(on d3d11)
wiki.unity3d.com says it should be so, yet it’s not.
What’s the correct Semantic, if any exists?