Game Development Stack Exchange is a question and answer site for professional and independent game developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I searched a lot on the web without coming to a real solution and if I ask this it's because I really have difficulties getting an answer. I need to learn well GLSL 1.20 with OpenGL 2.1.

I have bought beginning OpenGL game programming, 2nd edition, but it talk too little about GLSL. So I'm following some tutorials like this one, but it just makes a lot of examples without explaining the theory.

The problem is that if I want to know something, I have to search a lot, and often the thing that I'm searching doesn't come straightforward. For example I didn't know how to compute the direction between two points, I looked into some example codes and I discovered that it was done with the dot product just by seeing the example code. But with this approach I waste a lot of time. I need a book/guide which tells me how to do basilar stuff and also explains the theory. I just feel like I'm travelling into the fog. What book/guide would you suggest?

share|improve this question

closed as not constructive by Nicol Bolas, Sean Middleditch, Byte56, Josh Petrie, bummzack Feb 5 '13 at 10:43

As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.If this question can be reworded to fit the rules in the help center, please edit the question.

In my humble opinion the best book for learning modern GLSL… – user1075940 Feb 2 '13 at 23:24
I second the above comment. From what you explain it seems you’d also need something like this book (don’t pay attention to the ugly cover; the content is excellent). – sam hocevar Feb 3 '13 at 1:37
up vote 1 down vote accepted

The standard reference for GLSL would be referred to as the orange book. Located here on amazon.

edit geeze i'm out of it today. Here is the link to the correct book.

share|improve this answer

Not the answer you're looking for? Browse other questions tagged or ask your own question.