OpenGL 2.0 launched with built-in shader language
Pixel programming part of full spec.
OpenGL 2.0 was formally launched today and with it the completion of the graphics API's Shading Language specification for vertex- and pixel-shader programming.
OpenGL Shading Language was approved by the OpenGL Architecture Review Board (ARB) in June 2003 as an extension to OpenGL 1.4, which has since been updated to version 1.5.
The language was always destined to be integrated into the full OpenGL specification, and that's essentially what happened today. Next, graphics chip vendors have to offer OpenGL 2.0-capable drivers, allowing programmers to code using the new API in the sure and certain knowledge that their apps will run on the latest programmable pixel and vertex shaders from ATI, Nvidia, Intel and co.
And, indeed, both ATI and Nvidia were quick to voice their happiness that Shading Language has been wrapped into OpenGL and is no longer an optional add-on.
Programmable shader support remains OpenGL 2.0's key feature, but it's not the only one. The ARB have also included technology that enables support from multiple render targets in a single pass and to allow developers to apply rectangular rather than square, 'power of two' textures for all texture targets.
OpenGL 2.0 also adds support for point sprites, "which replace point texture coordinates with texture coordinates interpolated across the point". Essentially, points are treated as textures and textures as points, enabling some interesting particle effects.
The API now includes two-sided stencil support "with the ability to define stencil functionality for the front and back faces of primitives, improving performance of shadow volume and constructive solid geometry rendering algorithms". ®