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 and Rage128 Pro with Direct3D

The R128DX7GlossMap sample program uses the ATI Rage128 and Rage128 Pro to carry out two-pass gloss mapping. This effect is similar to environment mapping except that a gloss map is applied to the environment map to vary its reflectivity. Figure 1 shows R128DX7GlossMap in action, comparing specular environment mapping to gloss mapping.
 
Figure 1 - specular vs.. gloss mapping.
R128DX7GlossMap takes two passes to create the gloss mapping lighting effect. In the first pass, the specular environment map is rendered. During the second pass, the base texture modulated with the vertex diffuse color is added to the destination modulated with the base texture's alpha, which contains the gloss map. The gloss map attenuates the reflectivity of the specular map. This effect is represented by the following 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.
R128DX7GlossMap Controls
  • F1 - About
  • F2 - Select Driver/Device/Mode
  • [ALT]+[ENTER] - Toggle fullscreen/windowed
  • [ENTER] - Toggle Go/Stop
  • Space Bar - Single Step
  • [ESC] - Quit

Downloads

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


 



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