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 with OpenGL

The Rage128AlphaTest shows how an alpha blended primitive can cause unwanted Z-buffer writes. Figure 1 shows a 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 blue quad to the depth test several times even though the color buffer was untouched.
 


Figure 1 - results without
alpha testing.
Figure 2 - results with
alpha testing.
 
Rage128AlphaTest 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, that the z-buffer is forced to record what is in essence an invisible pixel.
Rage128AlphaTest Controls
  • A - Toggle alpha test on or off
  • + - Increase alpha test value
  • - - Decrease alpha test value
  • [ESC] - Quit

Building and Running Rage128AlphaTest

Please see the page Building OpenGL Samples.


Win32 Downloads

Project file, source, executable, and support files (254 kb)

Shared source and include files (31 kb)
 
 
 


 



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