O'Reilly logo

Graphics Shaders, 2nd Edition by Steve Cunningham, Mike Bailey

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Graphics Shaders: Theory and Practice is intended for a second course in computer graphics at the
undergraduate or graduate level, introducing shader programming in general, but focusing on the GLSL
shading language. While teaching how to write programmable shaders, the authors also teach and reinforce
the fundamentals of computer graphics. The second edition has been updated to incorporate changes in the
OpenGL API (OpenGL 4.x and GLSL 4.x0) and also has a chapter on the new tessellation shaders, including
many practical examples.
The book starts with a quick review of the graphics pipeline, emphasizing features that are rarely taught in
introductory courses but are immediately exposed in shader work. It then covers shader-specific theory for
vertex, tessellation, geometry, and fragment shaders using the GLSL 4.x0 shading language. The text also
introduces the freely available glman tool that enables you to develop, test, and tune shaders separately from
the applications that will use them. The authors explore how shaders can be used to support a wide variety
of applications and present examples of shaders in 3D geometry, scientific visualization, geometry morphing,
algorithmic art, and more.
Features of the Second Edition:
Written using the most recent specification releases (OpenGL 4.x and GLSL 4.x0) including code
examples brought up-to-date with the current standard of the GLSL language
More examples and more exercises
A chapter on tessellation shaders
An expanded Serious Fun chapter with examples that illustrate using shaders to produce fun effects
A discussion of how to handle the major changes occurring in the OpenGL standard, and some C++
classes to help you manage that transition
Source code for many of the book’s examples at www.cgeducation.org
“If you are one of the multitudes of OpenGL programmers wondering about how to get started with
programmable shaders or what they are good for, this is the book for you. Mike and Steve have filled their new
edition with such a variety of interesting examples that you’ll be running to your computer to begin writing your
own shaders.”
—Ed Angel, Chair, Board of Directors, Santa Fe Complex; Founding Director, Art, Research, Technology, and
Science Laboratory (ARTS Lab); Professor Emeritus of Computer Science, University of New Mexico
“Shaders are an essential tool in today’s computer graphics, from films and games to science and industry.
In this excellent book, Bailey and Cunningham not only clearly explain the how and why of shaders, but they
provide a wealth of cutting-edge shaders and development tools. If you want to learn about shaders, this is
the place to start!”
—Andrew Glassner
Mike Bailey Steve CunninghaM
SECOND EDITION
theory and PraCtiCe
Bailey CunninghaM
in
Clude
S
OpenGL 4.x
Computer graphics/computer games
K13069
Graphics Shaders

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required