DirectX SDK |
This topic pertains only to application development in C and C++. DirectX for Visual Basic does not include support for the Direct3DX utility library.
The EnvMap sample demonstrates cubic environment mapping.
Source: (SDK root)\Samples\Multimedia\D3dx\Src\EnvMap
Executable: (SDK root)\Samples\Multimedia\D3dx\Bin\EnvMap.exe
No user input is required.
This sample demonstrates how to create reflective effects by displaying a reflective sphere inside a cube. A cube map is a special texture surface created by rendering a scene in six orthogonal directions. It is used for traditional environment-mapping effects.
This sample uses the Direct3DX utility library helper classes.