OpenGL Shading Language (3rd Edition) and over 1.5 million other books are available for Amazon Kindle . Learn more

Trade in Yours
For a £13.00 Gift Card
Trade in
Have one to sell? Sell yours here
Sorry, this item is not available in
Image not available for
Colour:
Image not available

 
Start reading OpenGL Shading Language (3rd Edition) on your Kindle in under a minute.

Don't have a Kindle? Get your Kindle here, or download a FREE Kindle Reading App.

OpenGL Shading Language [Paperback]

Randi J. Rost , Bill M. Licea-Kane , Dan Ginsburg , John M. Kessenich , Barthold Lichtenbelt , Hugh Malan , Mike Weiblen
3.0 out of 5 stars  See all reviews (1 customer review)

Available from these sellers.


Formats

Amazon Price New from Used from
Kindle Edition £20.79  
Paperback --  
Amazon.co.uk Trade-In Store
Did you know you can trade in your old books for an Amazon.co.uk Gift Card to spend on the things you want? Visit the Books Trade-In Store for more details. Learn more.

Book Description

20 July 2009 0321637631 978-0321637635 3

OpenGL® Shading Language, Third Edition, extensively updated for OpenGL 3.1, is the experienced application programmer’s guide to writing shaders. Part reference, part tutorial, this book thoroughly explains the shift from fixed-functionality graphics hardware to the new era of programmable graphics hardware and the additions to the OpenGL API that support this programmability. With OpenGL and shaders written in the OpenGL Shading Language, applications can perform better, achieving stunning graphics effects by using the capabilities of both the visual processing unit and the central processing unit.

 

In this book, you will find a detailed introduction to the OpenGL Shading Language (GLSL) and the new OpenGL function calls that support it. The text begins by describing the syntax and semantics of this high-level programming language. Once this foundation has been established, the book explores the creation and manipulation of shaders using new OpenGL function calls.

 

OpenGL® Shading Language, Third Edition, includes updated descriptions for the language and all the GLSL entry points added though OpenGL 3.1, as well as updated chapters that discuss transformations, lighting, shadows, and surface characteristics. The third edition also features shaders that have been updated to OpenGL Shading Language Version 1.40 and their underlying algorithms, including

 

  • Traditional OpenGL fixed functionality
  • Stored textures and procedural textures
  • Image-based lighting
  • Lighting with spherical harmonics
  • Ambient occlusion and shadow mapping
  • Volume shadows using deferred lighting
  • Ward’s BRDF model

 

The color plate section illustrates the power and sophistication of the OpenGL Shading Language. The API Function Reference at the end of the book is an excellent guide to the

API entry points that support the OpenGL Shading Language.



Product details

  • Paperback: 792 pages
  • Publisher: Addison Wesley; 3 edition (20 July 2009)
  • Language: English
  • ISBN-10: 0321637631
  • ISBN-13: 978-0321637635
  • Product Dimensions: 17.9 x 3.9 x 23.1 cm
  • Average Customer Review: 3.0 out of 5 stars  See all reviews (1 customer review)
  • Amazon Bestsellers Rank: 257,319 in Books (See Top 100 in Books)
  • See Complete Table of Contents

Product Description

Review

“As the ‘Red Book’ is known to be the gold standard for OpenGL, the ‘Orange Book’ is considered to be the gold standard for the OpenGL Shading Language. With Randi’s extensive knowledge of OpenGL and GLSL, you can be assured you will be learning from a graphics industry veteran. Within the pages of the second edition you can find topics from beginning shader development to advanced topics such as the spherical harmonic lighting model and more.”

—David Tommeraasen, CEO/Programmer, Plasma Software

 

“This will be the definitive guide for OpenGL shaders; no other book goes into this detail. Rost has done an excellent job at setting the stage for shader development, what the purpose is, how to do it, and how it all fits together. The book includes great examples and details, as well as good additional coverage of 2.0 changes!”

—Jeffery Galinovsky, Director of Emerging Market, Platform Development, Intel Corporation

 

“The coverage in this new edition of the book is pitched just right to help many new shader-writers get started, but with enough deep information for the ‘old hands.’”

—Marc Olano, Assistant Professor, University of Maryland

 

“This is a really great book on GLSL—well written and organized, very accessible, and with good real-world examples and sample code. The topics flow naturally and easily, explanatory code fragments are inserted in very logical places to illustrate concepts, and, all in all, this book makes an excellent tutorial as well as a reference.”

—John Carey, Chief Technology Officer, C.O.R.E. Feature Animation

 

OpenGL® Shading Language provides a timely, thorough, and entertaining introduction to the only OpenGL ARB-approved high-level shading language in existence. Whether an expert or a novice, there are gems to be discovered throughout the book, and the reference pages will be your constant companion as you dig into the depths of the shading APIs. From algorithms to APIs, this book has you covered.”

—Bob Kuehne, CEO, Blue Newt Software

 

“Computer graphics and rendering technologies just took a giant leap forward with hardware vendors rapidly adopting the new OpenGL Shading Language. This book presents a detailed treatment of these exciting technologies in a way that is extremely helpful for visualization and game developers.”

—Andy McGovern, Founder, Virtual Geographics, Inc.

 

“The OpenGL Shading Language is at the epicenter of the programmable graphics revolution, and Randi Rost has been at the center of the development of this significant new industry standard. If you need the inside track on how to use the OpenGL Shading Language to unleash new visual effects and unlock the supercomputer hiding inside the new generation of graphics hardware, then this is the book for you.”

—Neil Trevett, Senior Vice President, Market Development, 3Dlabs

 

 

From the Back Cover

OpenGL® Shading Language, Third Edition, extensively updated for OpenGL 3.1, is the experienced application programmer’s guide to writing shaders. Part reference, part tutorial, this book thoroughly explains the shift from fixed-functionality graphics hardware to the new era of programmable graphics hardware and the additions to the OpenGL API that support this programmability. With OpenGL and shaders written in the OpenGL Shading Language, applications can perform better, achieving stunning graphics effects by using the capabilities of both the visual processing unit and the central processing unit.

 

In this book, you will find a detailed introduction to the OpenGL Shading Language (GLSL) and the new OpenGL function calls that support it. The text begins by describing the syntax and semantics of this high-level programming language. Once this foundation has been established, the book explores the creation and manipulation of shaders using new OpenGL function calls.

 

OpenGL® Shading Language, Third Edition, includes updated descriptions for the language and all the GLSL entry points added though OpenGL 3.1, as well as updated chapters that discuss transformations, lighting, shadows, and surface characteristics. The third edition also features shaders that have been updated to OpenGL Shading Language Version 1.40 and their underlying algorithms, including

 

  • Traditional OpenGL fixed functionality
  • Stored textures and procedural textures
  • Image-based lighting
  • Lighting with spherical harmonics
  • Ambient occlusion and shadow mapping
  • Volume shadows using deferred lighting
  • Ward’s BRDF model

 

The color plate section illustrates the power and sophistication of the OpenGL Shading Language. The API Function Reference at the end of the book is an excellent guide to the

API entry points that support the OpenGL Shading Language.


What Other Items Do Customers Buy After Viewing This Item?


Customer Reviews

5 star
0
4 star
0
2 star
0
1 star
0
3.0 out of 5 stars
3.0 out of 5 stars
Most Helpful Customer Reviews
3.0 out of 5 stars Adequate, but not the book I was hoping for. 24 Mar 2013
Format:Kindle Edition|Amazon Verified Purchase
I have many years of programming experience with OpenGL, and I needed to explore "shaders" (programming the GPU) using OpenGL Shading Language (GLSL), so I bought this book as a companion to my copy of the "Red book" OpenGL Programming Guide: The Official Guide to Learning OpenGL, Versions 3.0 and 3.1 on OpenGL. I'm probably just stupid, but I found it very hard to work out how to use GLSL from this book.

"Shaders" refer to three separate programmes you can run on the GPU: "vertex shaders" which programme per-vertex information, "geometry shaders" which allow optional access to primitive points, lines and triangles, and "fragment shaders" which deal with the rendering of individual pixels. If you choose to write these you generate small programmes which replace certain bits of the built-in graphics pipeline, the aim being to give the programmer much more flexibility and to permit pretty much anything to be done to the graphics data.

So shaders are a bit like islands of accessibility to graphics data in a sea of hidden architecture on the GPU. Certain bits of data are "built-in", and certain graphics processes are also fixed and hidden away from the programmer, and I found it very hard to determine from this book alone exactly what fell into which category, and how I should interface with the built-in graphics processing. To pursue my maritime analogy: if graphics data is like freight sent by shipping, then you intercept cargos en-route, fiddle with them a bit, then send them on. But to do this you need to fit into the shipping schedules, know what freight is on the boat, know what you are and are not allowed to change, how you should load it, and so on.

I found this book very weak on explaining data flow (shipping schedules in my analogy), and also how the data (the cargo) is organised . Without this information you are a bit stuffed! A diagram showing this and listing all the "built-in" variables available at each stage (with their attributes) would have been a priceless help. Fortunately a lot of information about GLSL is available online, and that is just as well because I don't think this book alone would have given me enough information to get the job done.

Once I'd figured out the missing bits and pieces the second half of this book, which is mainly worked examples of how to achieve effects with shaders, proved very useful as a source of ideas. In particular chapter 9, Emulating OPenGL Fixed Functionality, is crucial for a novice at GLSL because you have to start at the beginning with basic transformations, colour, shading and lighting and this shows you how to do it.

In conclusion I'd say that you can learn GLSL from scratch using this book, but you'll also need a web browser in order to answer all the questions it fails to answer. Once you've got going it makes a reasonable reference guide, and the coded examples in the second half are particularly worthwhile. But I do wish the authors had studied Kernighan and Ritchie's The C Programming Language (2nd Edition), in my view the best book ever written on a computer language: clear, concise and well organised ... which this book definitely is not!
Comment | 
Was this review helpful to you?
Most Helpful Customer Reviews on Amazon.com (beta)
Amazon.com: 3.9 out of 5 stars  9 reviews
14 of 16 people found the following review helpful
2.0 out of 5 stars Not the best book I read. 12 Jan 2010
By Papa Carlo - Published on Amazon.com
Format:Paperback|Amazon Verified Purchase
The authors honestly warn the user that this book is not intended to be read from start to finish in sequential order. Cannot agree more. The material is scattered through the book with little logical order. Very often I find myself putting the book aside and going to Internet after futile attempts to find even some basic information.
For example GLSL defines a number of special embedded variables, but you will not find a list of those variables and especially examples of using them. Instead they are scattered in the text.
A good part of the book is just examples of solving some fancy tasks. GLSL is a very interesting and exciting subject and I expected to find something more useful when ordering this book.
Save your money.
7 of 7 people found the following review helpful
4.0 out of 5 stars Must have GLSL reference 31 Mar 2010
By D. Neckels - Published on Amazon.com
Format:Paperback|Amazon Verified Purchase
The book covers all you need to know to write opengl shaders. There are a number of examples covered, with source both in the book and available for download. The writing is understandable and comprehensive, if ponderous.
My only complaint is the encyclopedic nature of the book. Tons of man page like reference material in the back and throughout.
It lacks the inspiration of a book like Frank Luna's DirectX, where he develops techniques like normal mapping, cascaded shadow maps, etc.. with all the relevant math details.

But, if you have those details, this book has everything you need to implement them in GLSL. So a good buy.
2 of 2 people found the following review helpful
4.0 out of 5 stars Excellent Presentation of Shaders 11 Sep 2012
By CRK - Published on Amazon.com
Format:Paperback
I don't usually write reviews, but this book deserves one.

This book serves well to someone that has some familiarity/experience with setting up an OpenGL environment on whatever platform. (ie. each implementation of opengl has its quarks, but for iOS this involves setting up the EAGLContext, override layerClass to return CAEAGLayer, setting up vertex buffer objects, render buffers, and framebuffers, blah blah) If you don't understand that aspect you'll find yourself reading the book and thinking 'thats great, but how do i set this up initially?' However if you're like me, and can set up the GL environment, but lacked some insight on what exactly can be accomplished with vertex/fragment shaders then you'll be in for a treat. This book does a nice job of explaining the process of creating shaders (and their corresponding gl_programs). This book doesn't treat the reader like an idiot, but it also doesn't treat you like you were a designer of OpenGL; its a good compromise in the middle. The general flow of the book is having a detailed explanation of what is going on in a shader, then it shows you the code for said shader. If you're patient and willing to cross-reference the text and the code, and touch base with the underlying math where you find yourself lacking, you should come out with a better understanding of how to achieve certain effects (lighting, shadows, noise, etc.) Goodluck
Were these reviews helpful?   Let us know
Search Customer Reviews
Only search this product's reviews

Customer Discussions

This product's forum
Discussion Replies Latest Post
What GLSL version? 0 7 Feb 2013
See all discussions...  
Start a new discussion
Topic:
First post:
Prompts for sign-in
 

Search Customer Discussions
   


Listmania!

Create a Listmania! list

Look for similar items by category


Feedback