The mystery includes - help!

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?

Ok, sorry about the quick doublepost, but I found the files in the Unity Data folder and they’re very well commented. I’m panicking much less now and I think I know some of what I was doing wrong.

Any other tips for a beginner?