Opengl 20 ((new)) Page

: For the first time, developers could write custom code (shaders) that ran directly on the GPU to handle vertex and pixel (fragment) processing.

But extensions were messy. Different GPUs, different caps, different syntax. opengl 20

To understand the significance of OpenGL 2.0, one must first understand the landscape it inherited. Prior to 2004, OpenGL was dominated by the "fixed-function pipeline." In this architecture, the graphics card operated as a rigid machine with pre-defined capabilities. Developers would push geometry into the pipeline and set states—telling the hardware to "apply a light here," "add fog there," or "texture this polygon." : For the first time, developers could write

(Actual GLSL code omitted here but follows the vertex/fragment roles above.) To understand the significance of OpenGL 2

This example demonstrates the basic usage of OpenGL 2.0 and GLSL for rendering a simple triangle.

While modern GPUs support OpenGL 4.6+, they remain compatible with OpenGL 2.0 for legacy applications.