I am trying to understand and learn how to create shaders and I can’t find any documentation about specific words.
fixed4 frag (v2f IN) : SV_Target
{
fixed4 col = tex2D(_MainTex, IN.uv + float2(0, sin(IN.vertex.x/75 + _Time[1]) / 50 ) );
// just invert the colors
//col = 1 - col;
col[2] = .4;
//col[1] = .1;
return col;
}
What is that : SV_Target? How is it affecting the function?