ATI SDK

ATI Product Information

Support for Alternate OS's

Hardware partners

Software partners

RenderMonkey

Drivers


 
 

Highlights


GPU MeshMapper (V1.0)

GPU PerfStudio (V1.2)

Samples: CrossFire Detect (update)

Samples: PostTonemapResolve

The Compressonator (version 1.41)

GPU Shader Analyzer (V1.42)

RenderMonkey™
(version 1.81) (New)


ATI Compress (version 1.6)

AMD Tootle 2.0 (New)

AMD OpenGL ES 2.0 Emulator (V1.1) (New)

HLSL2GLSL (V0.9)

AMD at GDC 2007

ATI SDK


 
 
ATI Developer - Source Code
 
Gloss Mapping on the ATI Rage128 with Direct3D

The R128GlossMap sample program uses the ATI Rage128 to carry out two-pass gloss mapping, which is similar to environment mapping, except with variable reflectivity on the reflective surfaces. Figure 1 shows R128GlossMap in action, comparing specular environment mapping to gloss mapping.
Figure 1 - specular vs. gloss mapping.
R128GlossMap takes two passes to create the gloss mapping lighting effect. In the first pass, the specular environment map is rendered onto the destination surface. Meanwhile, the example has stored the reflectivity of the vase's base texture in the alpha channel of that texture, and for the second pass, we add on the base texture modulated by the vertex color to the destination color modulated by the base texture's alpha channel. This gives the effect of a gloss mapped object that results from the following lighting equation:

Result = Base*DiffuseLight + EnvironmentMap*GlossMap

In addition, there is also a second object drawn with a single pass to show plain specular environment mapping.

R128GlossMap Controls
  • F1 - Help
  • F2 - Select Driver/Device/Mode
  • +/- - Tilt object forward/back
  • [ALT]+[ENTER] - Toggle fullscreen/windowed
  • [ESC] - Quit

Downloads

DirectX 6 project file, source, executable, and support files
 
 
 


 



©2008 Advanced Micro Devices, Inc.  |  Contact AMD  |  Careers  |  RSS Feeds  |  Terms and Conditions  |  Privacy  |  Trademark information  |  Site Map