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
 
Projected Spotlight and Dynamic Shadow Textures on Radeon®
 
Figure 1 - Projected spotlight and dynamic shadow map
 


Figure 2 - Dynamic shadow map
Figure 3 - Spotlight map
 
The sample RadeonSpotlightShadow uses SetRenderTarget to generate a dynamic shadow map texture rendered from the light point-of-view. It uses automatically generated camera-space position coordinates to apply both the shadow map and a spotlight texture to scene objects. Both textures and a color factor ambient term can be applied in a single pass using the Radeon® multitexture stages. Figure 1 shows the applied projected textures. Figure 2 shows the dynamically generated shadow texture, and Figure 3 shows the spotlight texture.
 
RadeonSpotlightShadow Controls
  • [F5] - Toggle display of dynamic shadow texture on/off
  • [SPACE] - Advance Frame-by-frame
  • [ENTER] - stop advancing Frame-by-frame
  • [ESC] - Quit
 
Downloads
 
Note: The source code and media should be unzipped into the following recommended directory structure to ensure you can easily compile and run the executable.

Radeonxxxxxx.zip -> x:\atiddk\Direct3D\Radeonxxxxxx
media.zip -> x:\atiddk\media

RadeonSpotlightShadow.zip

media.zip


Back to Samples Page
 
 
 


 



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