OpenGL Shading Language

Randi J. Rost

Mentioned 1

bull; Shading languages are the most important new development in graphics programming in years bull; The author is at the very centre of the activity surrounding the OpenGL Shading Language bull; Both a tutorial and a reference, with lots of practical examples

More on

Mentioned in questions and answers.

Starting with the iPhone 3G S, OpenGL ES 2.0 has been supported on iOS devices. However, I can't find much in the way of sample code for OpenGL ES 2.0 aimed at the iPhone, or even some generic examples. Where can I find sample code or tutorials about OpenGL ES 2.0 for the iPhone?

For a very basic example, the OpenGL ES Application template in the latest iOS SDK creates a basic application with two rendering paths, one OpenGL ES 1.1-based, the other using OpenGL ES 2.0.

Aside from that, I recommend watching the WWDC 2010 video session 417 - "OpenGL ES Shading and Advanced Rendering" for some examples of OpenGL ES 2.0 shaders on the iPhone. The book "iPhone 3D Programming" by Philip Rideout walks you through the use of OpenGL ES 2.0 shaders in an iPhone application.

Finally, I believe that "OpenGL Shading Language" by Randi Rost is still considered the definitive reference for the shaders used in OpenGL ES 2.0.

Realated tags