|
|
|
|
| |
Light Mapping on the ATI Rage128
with OpenGL
|
|
|
|
|
| Figure 1 - Textured Quad
|
Figure 2 - Lightmapped Quad
|
| |
| |
|
The Rage128LightMap sample program uses single-pass multitexturing to implement a light map effect on a simple quad. The ARB_multitextureextension is used in this sample.
- Rage128LightMap Controls
- Left mouse drag - Rotate simple quad
- M - Toggle light mapping
- [ESC] - Quit
Building and Running Rage128LightMap
In order to build Rage128LightMap, you must have a gl.h file that contains the necessary defines for the ARB_Multitexture extension. Likewise to run the app you must have OpenGL drivers that implement this extension. Please see the page Building OpenGL Samplesfor more information on this and other general information.
Win32 Downloads
Project file, source, executable, and support files(126 kb)
Shared source and include files(31 kb)
|
| |
 |
|
|
|