Take the 2-minute tour ×
Game Development Stack Exchange is a question and answer site for professional and independent game developers. It's 100% free, no registration required.

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.

2  
In my humble opinion the best book for learning modern GLSL packtpub.com/opengl-4-0-shading-language-cookbook/book?tag=rk/… –  user1075940 Feb 2 '13 at 23:24
1  
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
add comment

1 Answer 1

up vote 1 down vote accepted

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

http://www.amazon.com/OpenGL-Shading-Language-3rd-Edition/dp/0321637631/ref=pd_bxgy_b_text_y

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

share|improve this answer
add comment

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