Multitexture Frosted Glass and Environment
Mapped Bump Mapping on Radeon®
|
|
|
|
|
|
Figure 1 - EMBM and Frosted glass using multitexturing
|
|
|
The sample RadeonEMBMFrostedGlass applies an environment mapped bump map (EMBM) to the frosted glass in the sample RadeonFrostedGlass. The EMBM perturbs the texel look-up index into the projected frosted glass texture to give the glass a bumpy appearance. Figure 1 illustrates this effect.
|
|
|
|
|
- RadeonEMBMFrostedGlass Controls
-
- S - Toggle between regular and larger shear
displacement
- M - Toggle between default (6) and more (12)
samples
- J - Enable/Disable random jitter added to the
shear displacement
- [SPACE] - Advance Frame-by-frame
- [ENTER] - stop advancing Frame-by-frame
- [LEFT] - Rotate camera left
- [RIGHT] - Rotate camera right
- [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
RadeonEMBMFrostedGlass.zip
media.zip
Back to Samples Page
|
|
|