Jump to content
  • Advertisement
Sign in to follow this  
bjarnia

OpenGL Learning shaders from scratch, books?

This topic is 3842 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

I'm about to start an independent study project at school where the main theme is learning theory and implementation of shaders. I realize there is a lot of online resources, but I'd like something a bit more organized, and besides, I have budget from school to buy a book or two. I was thinking about CG shader language from nvidia, but it's not set in stone if someone thinks starting with another one (HLSL?) would be better. I will be using c++ and OpenGL, and I'd prefer the book to, at the very least, not use something else than that. I know some books will not contain any code at all except shading code but I'd prefer them to, since I'm just starting with this. So.. Any suggestions?

Share this post


Link to post
Share on other sites
Advertisement
Found this book:

http://www.amazon.com/exec/obidos/tg/detail/-/0321194969/qid=1045637512/sr=8-1/ref=sr_8_1/103-6246320-0938230?v=glance&s=books&n=507846

Sounds pretty good, yes?

Share this post


Link to post
Share on other sites
It is a good book on shader programming. It assumes OpenGL and Cg usage. You might just setup your environment with this.
Cg is nearly the same as HLSL so you get the concepts this way.

Share this post


Link to post
Share on other sites
I would recommend "OpenGL Shading Language" by Randi Rost. I was a complete shader noob when I started reading it, and not only did it help me get really good with GLSL, but it also taught me the basics of shaders and shader techniques that are independent of shading language. After doing a lot with GLSL I tried my hand at HLSL, and it was a pretty painless transition.

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!