Hey everyone! I’m currently running into a huge roadblock while learning shaders: There’s too much automagic in the Unity implementation. These “UnityCG.cginc” and “AutoLight.cginc” files are killing me. What’s inside them!? What does the “LIGHTING_COORDS” macro really do? Stuff like that is just getting on my nerves and making it almost impossible to write my toon-ish shader. (And no, the way I want this to look, the built in toon shaders are not gonna work)
Is there some documentation out there, anywhere, that explains what these files do?