The Register®

Biting the hand that feeds IT

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". ®

Related stories

Bitboys offers next-gen mobile 3D chips
3D Labs open sources OpenGL HLSL compiler
3Dlabs pledges support for ATI's RenderMonkey HLSL
Carmack backs OpenGL in shader wars

Free Report - "High-level Best Practices in Software Configuration Management: How to deploy SCM software to the maximum advantage"

Don’t Miss

Warning: roadworksNetbooks and Mini-Laptops

Buyer's Guide They're little and we love 'em. But which ones are best?

Warning: roadworksIntel shakes AMD's chip-fabbing baby

Cross-licensing custody battle

Emails show journalist rigged Wikipedia's naked shorts

Overstock's Byrne vindicated amidst economic meltdown

Warning StopYours truly, angry mob

Book extract Bringing Nothing To The Party: Cleaning up the net, one satirical vigilante page at a time