|
|
|
|
| |
EXT_texgen_reflection Extension
|
Radeon SDK 3D Programming Sample Code
| |
|
EXT_texgen_reflection
| |
|
EXT_texgen_reflection provides two new texture coordinate generation modes for texture-based lighting and environment mapping. The reflection map mode generates texture coordinates equivalent to the eye-space reflection vector, while the normal map mode generates texture coordinates equivalent to the eye-space normal.
The reflection map mode is useful for dual and single paraboloid environment mapping as proposed by Heidrich and Seidel View-independent Environment Maps at the Eurographics/Siggraph Workshop on Graphics Hardware in 1998.
The normal map mode is useful for texturing-based diffuse lighting models utilizing cube maps.
For complete details, please refer to the {NV|EXT}_texgen_reflection spec.
Related Extensions
In order to do single-pass dual-paraboloid environment mapping, EXT_texgen_reflection is commonly used in conjunction with extensions such as EXT_texture_env_combine and ARB_multitexture.
The normal map mode is often used with ARB_texture_cube_map.
Radeon® Support
The Radeon® and RAGE 128™ both support {NV|EXT}_texgen_reflection.
| |
|
| |
 |
|
|
|