Hopefully this is the correct place to ask this question:
I was reading through the SpriteVertexLighting.cginc shader and I noticed these lines of code.
The definitions of the VERTEX_LIGHT... don't seem to be correctly organized, as the light info of certain values is spread out among the definitions. What confuses me more is the use of the defines which seem to treat the VERTEX_LIGHT... as if they were in proper order.
Is there another set of lines of code that I am missing or is there some shader magic that I don't understand? Any insight would be appreciated.