DirectX SDK |
This topic pertains only to application development in C++. See Direct3D Immediate Mode Visual Basic Samples.
This sample shows how to implement cube mapping, which is a new environment-mapping technique implemented in DirectX 7.0.
Source: (SDK root)\Samples\Multimedia\D3dim\Src\EnvCube
Executable: (SDK root)\Samples\Multimedia\D3dim\Bin\EnvCube.exe
Press F1 to see available commands, or choose from the menu.
A cube map is a special texture surface created by rendering a scene in six orthogonal directions. It is then used for traditional environment-mapping effects.