Platform SDK: DirectX |
MFCTex is an interactive tool that lets you experiment with multiple texture blending and see the results instantly. The tool also generates the necessary code for achieving the desired effect.
Source: (SDK root)\Samples\Multimedia\D3dim\Src\Mfctex
Executable: (SDK root)\Samples\Multimedia\D3dim\Bin\Mfctex.exe
Select up to three bitmaps, and change the parameters by using the text boxes and drop-down lists. To use fewer than three states, leave one of the Texture File text boxes blank.
When you have achieved an effect that you want to use in your application, click View Code, and copy all the text from the Direct3D Texture Stage Code dialog box.
For information on the parameters that you can change, see Multiple Texture Blending.