OpenGL(R) Shading Language

  • Authors:
  • Randi J. Rost

  • Affiliations:
  • -

  • Venue:
  • OpenGL(R) Shading Language
  • Year:
  • 2004

Quantified Score

Hi-index 0.01

Visualization

Abstract

The OpenGL Shading Language, a high-level procedural shading language for OpenGL, is the most important new development in graphics programming to emerge in years. OpenGL is the leading cross-platform 3D-graphics API, and the OpenGL Shading Language allows developers to take total control over the most important stages of the graphics-processing pipeline.OpenGL Shading Language 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 utilizing 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 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 features extensive examples of shaders and their underlying algorithms, including Procedural texturing Noise Particle systems Hatching Analytic antialiasing Image processingThe 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 quick reference to the API entry points that support the OpenGL Shading Language. An enhanced online index allows readers to quickly and easily search the entire text for specific topics.