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
 
Alpha Testing on the ATI Rage128 and Rage128 Pro with Direct3D

The R128DX7AlphaTest shows how an alpha blended primitive can cause unwanted Z-buffer writes. Figure 1 shows a light blue quad drawn behind an animated texture sequence. Although the alpha blending applied to the texture prevents writes to the color buffer, z-buffer writes still occur causing the light blue quad to fail the depth test in several places even though the color buffer was untouched.
Figure 1 - results without
alpha testing.
Figure 2 - results with
alpha testing.
R128DX7AlphaTest first draws the background Rage 128 logo, and then simply loops though a set of texture maps animating an explosion. After the explosion has been drawn, a blue quad is drawn behind it. It is clearly visible, that without the alpha test rejection, the z-buffer is forced to record what is in essence an invisible pixel.
R128DX7AlphaTest Controls
  • F1 - About
  • F2 - Select Driver/Device/Mode
  • [ALT]+[ENTER] - Toggle fullscreen/windowed
  • [ENTER] - Toggle Go/Stop
  • Space Bar - Single Step
  • A - Toggle alpha test on or off
  • + - Increase alpha test value
  • - - Decrease alpha test value
  • [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