Question by 
               HackTheREALITY · Oct 16, 2017 at 07:31 AM · 
                shadershadersshader programmingshader writing  
              
 
              Shader - SV_Target
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?
               Comment
              
 
               
              Answer by NetherChef · Dec 11, 2018 at 07:02 PM
Check this out: https://forum.unity.com/threads/very-simple-question-about-fragment-function.482942/ Hope it helps!
Your answer
 
 
              koobas.hobune.stream
koobas.hobune.stream 
                       
               
 
			 
                