Modern shader-based versions of OpenGL are very similar to:
- OpenGL ES 2 (a somewhat subsetted version of OpenGL
that runs in portable devices such as Android and Apple iOS platforms), and
- WebGL (the version of OpenGL that runs
inside web browsers). WebGL programs are written in JavaScript. As of
Fall 2018, WebGL only supports GLSL #version 100. This version has
only vertex and fragment shaders, uses "attribute" instead of
"in" to declare per-vertex attributes, and uses "varying"
instead of "out" to declare variables passed to the fragment shader.
Several other significant language limitations exist as well.
- JOGL 2 (a Java binding to the OpenGL API that can run standalone in
desktop applications and/or can be launched from browsers via the Java Web Start mechanism
using jnlp links).
Click on the image on the left for a brief summary of the evolution
of and relationships between the various versions of OpenGL.