OpenGL ES 2.0 and OpenGL ES 3.0 with GLSL

 
 
OpenGL ES This site is dedicated to OpenGL ES 2.0 and 3.0 and contains the same examples as found in the OpenGL section. Some examples do not work, because either the functionalities are not supported by OpenGL ES 2.0 or OpenGL ES 3.0 or the examples have not been adapted to a given version.
At this point of time, the OpenGL ES 3.0 examples run in a Windows x86 simulation and the OpenGL ES 2.0 examples both on Windows x86 and the Raspberry Pi platform. By adapting GLUS to another operating system, by just replacing one file, the examples should also run there as well.

Source Code (Eclipse Project Files for Windows and Linux):


Do you like the examples? If yes, please recommend this site on Facebook:



Example 01 Example01 - Basic window and OpenGL ES initialization (2.0 and 3.0)
Example 02 Example02 - Rendering of a triangle (2.0 and 3.0)
Example 03 Example03 - Grey filter (3.0)
Example 04 Example04 - Perspective rendering of a cube (3.0)
Example 05 Example05 - Phong rendering of a sphere (3.0)
Example 06 Example06 - Texturing of a cube (2.0 and 3.0)
Example 07 Example07 - Normal mapping (3.0)
Example 08 Example08 - Environment/cube mapping (3.0)
Example 09 Example09 - Not available
Example 10 Example10 - Not available
Example 11 Example11 - Reflection and Refraction (3.0)
Example 12 Example12 - Shadow mapping (3.0)
Example 13 Example13 - Not available
Example 14 Example14 - Not available
Example 15 Example15 - Water Rendering (3.0)
Example 16 Example16 - Model loading and rendering (3.0)
Example 17 Example17 - Not available
Example 18 Example18 - Not available
Example 19 Example19 - Render to texture and planar reflection (3.0)
Example 20 Example20 - Texture matrix, alpha blending and discarding (3.0)
Example 21 Example21 - Not available
Example 22 Example22 - Not available
Example 23 Example23 - Not available
Example 24 Example24 - Not available
Example 25 Example25 - Not available

Tested platforms:

  • Windows 7 SP1 (64bit) with an ATI Radeon HD 7970
  • Raspbian “wheezy”

Thanks a lot to Pablo Alonso-Villaverde Roza and Alexandr Palamar for testing and helping to make the previous Linux version happen!