I understand how to calculate a dot product and that it has to do with vectors, but I never really understood why it is important. All of the explenations I've found may just be over my head, but they don't seem to explain anything. Maybe I'm just being a little bit slow, but could someone explain how this is used in a shader? What is the concept? Learning the concept is the most important thing for me to learn things.


When your script isn't working right, usually it's because it's doing exactly what you told it to. -An Unknown Programmer