|
|
|
|
| |
Edge Clamping on the ATI Rage128
with OpenGL
|
|
|
The Rage128EdgeClamp sample program uses the texture_edge_clamp extension to illustrate proper use of border colors in OpenGL. If the string GL_EXT_texture_edge_clamp is exported by the driver, the application will show a green quad with borders. The space bar can be used to toggle use of the texture_edge_clamp extension.
If the extension is not supported, a red quad will be displayed.
This red quad should show borders as illustrated below.
|
|
|
|
texture_edge_clamp unsupported
|
- Rage128EdgeClamp Controls
- Left mouse drag - Rotate simple quad
- [SPACE] - Toggle edge clamping (if supported)
- [ESC] - Quit
Building and Running Rage128EdgeClamp
In order to build Rage128EdgeClamp, you must have a gl.h file that contains the necessary defines for the Texture_Edge_Clamp extension. Likewise to run the app you must have OpenGL drivers that implement these extensions. Please see the page Building OpenGL Samples for more information on this and other general information.
Win32 Downloads
Project file, source, executable, and support files (84 kb) Shared source and include files (31 kb)
|
| |
 |
|
|
|