This site is for the first edition of the book covering OpenGL ES 2.0. If you are looking for the OpenGL ES 3.0 Programming Guide please visit http://www.opengles-book.com.
Welcome to the OpenGL® ES 2.0 Programming Guide Website
This is the official website for the OpenGL® ES 2.0 Programming Guide. Here on this
site you can download all of the code examples and RenderMonkey workspaces from the book. We also
maintain a list of errata.
Please report any errata to
errors@opengles-book.com
If you don't already own the book and are interested in purchasing it, you can purchase the book
on Safari informIT or
Amazon.com.
News
1-21-12 - BlackBerry Native SDK and Linux/X11 ports of sample code added
I am pleased to announce the availability of the OpenGL ES 2.0 Programming Guide sample code to two new platforms: BlackBerry Native SDK and Linux/X11. Thanks to Eduardo Pelegri-Llopart and Darryl Gough from Research In Motion for contributing a BlackBerry Native SDK port. Thanks to our reader Jarkko Vatjus-Anttila for contributing the Linux/X11 port. Both new versions are available from the opengles-book-samples Google Code project.
12-27-10 - WebGL and Android support added, iPhone samples updated + source migrated to Google Code
The sample code for the OpenGL ES 2.0 Programming Guide is now available for WebGL, Android 2.2, and iOS 4.2 (in addition to continued support on Windows OpenGL ES 2.0). Additionally, in order to make it easier to provide future updates, I have migrated all of the source to the opengles-book-samples Google Code project.
In order to help readers that are using the OpenGL ES 2.0 Programming Guide to learn WebGL, I have ported most of the C sample code from the book to WebGL. You can see the examples in action in the WebGL section of this site or downloaded from the opengles-book-samples Google Code project.
In addition, I have ported the sample code to Android 2.2+ in Java. These examples require an Android 2.2+ device to run and will build with the Android SDK API 8, revision 2.
Finally, I have updated the iPhone samples to iOS 4.2 SDK which have also been posted on the opengles-book-samples Google Code project. Now with the sample code hosted on Google Code it will be easier for me to quickly provide updates and fixes for readers as the platforms evolve. Please E-mail errors@opengles-book.com if you run into any issues.
Thanks again to all the readers that have reported issues and helped make the book better.
-- Dan (ginsburg 'at' alum.wpi.edu)
08-15-10 - OpenGL ES 2.0 Adoption Accelerating
It is an exciting time for OpenGL ES 2.0! The number of phones and other devices on the market that support OpenGL ES 2.0 continues to accelerate. In addition to the iPhone 3GS, iPhone 4, and iPad, we now have a large number of Android devices supporting OpenGL ES 2.0. These devices include the Motorola Droid, Motorola Droid X, Motorola Droid 2, Nexus One, HTC Droid Incredible, HTC EVO 4G, Samsung Vibrant, and Samsung Galaxy S. Google released its Revision 3 of the Android Native Development Kit (NDK) in March 2010 supporting OpenGL ES 2.0. You can download the latest NDK from Google and start developing with OpenGL ES 2.0 on any of the aforementioned devices (Android NDK).
OpenGL ES 2.0 has also made inroads outside just the handheld market. AMD recently announced that all of its GPUs made since 2008 will have a native OpenGL ES 2.0 driver starting with Catalyst 10.8 on Windows and Catalyst 10.9 on Linux (link). This means no more using emulators/wrappers to have desktop OpenGL ES 2.0 support. One of the motivations for AMD is that OpenGL ES 2.0 has also been selected as the underpinnings of WebGL, an open standard for 3D graphics on the web. Already Google Chrome, Firefox, and Safari have implementations in beta and the specification is slated to be frozen in September 2010.
Also, a big thanks to all of our readers that have reported errors in the book. We have recently updated the errata page with all of the most recent errors that have been reported.
-- Dan (ginsburg 'at' alum.wpi.edu)
06-18-09 - Updates for iPhone 3GS!
The sample code from the book has been ported to the iPhone SDK 3.0 and is now available from the Downloads page.In addition, we have released an e-Chapter on the iPhone 3GS available for download in PDF format from this link: OpenGL_ES_20_Programming_Guide_iPhone_eChapter.pdf.