Years ago, when I was just starting to study Unity shaders, it was very difficult to understand much of the content I found in the books for various reasons. I still remember the day I was trying to understand the semantic function POSITION[n]. However, when I did finally manage to find its definition, I found the following statement:
At that moment, I asked myself, what is Vertex position in Object-Space? Then I understood that there was previous information that I had to know before starting to read about this subject.
In my experience, I have been able to identify at least four fundamental areas that facilitate the understanding of shaders and their structure, such as:
- Properties of a polygonal object.
- Structure of a Render Pipeline.
- Matrices, and coordinate systems.