In this lesson we'll take a look at creating a basic image effect shader which we'll use to lerp between two different textures on screen.
After watching the video there were a few points I wanted to clarify if that was ok.
3 answers · asked
Why are we using the COLOR binding semantic instead of SV_Target for the frag function? From a search I did online I read that SV_Target would work for more target frameworks so I'm slightly confused. Link to the forum post I read : https://forum.unity.com/threads/very-simple-question-about-fragment-function.482942/
What does changing the #pragma vertex vert statement's specified function to vert_img do exactly? From my research, vert_img is a function specified in UnityCG.cginc, but I'm not entirely sure why we are using it.
Thank you for doing this series by the way. I tried getting into shaders a while back but found it a bit difficult.