Opengl 2.0 [SAFE]
CPU (Application) │ ├── Vertex Data (positions, normals, colors, texcoords) │ ▼ Vertex Shader (GLSL) - Transform position (modelview → projection) - Compute per-vertex lighting, texture coordinates - Output: gl_Position, varying variables │ ▼ Primitive Assembly & Clipping │ ▼ Rasterization (Interpolates varying variables across fragments) │ ▼ Fragment Shader (GLSL) - Sample textures - Compute per-pixel lighting, effects - Output: gl_FragColor, gl_FragDepth │ ▼ Per-Fragment Operations (depth test, stencil test, blending) │ ▼ Framebuffer
: Handled the manipulation of 3D points (vertices), enabling sophisticated skeletal animation and geometric transformations. opengl 2.0
GLSL brought a C-style language to the graphics pipeline, allowing developers to write custom programs called . These shaders run directly on the Graphics Processing Unit (GPU), providing unprecedented control: The defining feature of OpenGL 2
OpenGL 2.0 is roughly feature-parity with DirectX 9.0c (Shader Model 3.0), but DX9 also allowed longer shaders and dynamic branching earlier. : Controlled the final colour and appearance of
The defining feature of OpenGL 2.0 was the formal introduction of the . Before this, developers were largely limited to predefined operations for lighting, fog, and texture mapping. If they wanted custom effects, they often had to resort to complex and unintuitive assembly-level code.
: Controlled the final colour and appearance of every individual pixel, making advanced lighting, shadows, and post-processing effects possible. Key Technical Enhancements