Torque Shader Engine DocumentationCVS Revision Label 0.1.x |
Go to the Microsoft website and download the latest DirectX 9 SDK.
WARNING: If using Visual C++ 6.0, the last confirmed DirectX update that will work with TSE is the October 2004 Update (Google: "DirectX SDK October" ). The October DirectX SDK Extras package must also be downloaded in addition or TSE will not compile! Microsoft has dropped support for VC 6.0. Milestone 2 is the last TSE release that will support VC 6.0.
If you are using the Visual C++ development environment, install the debug version of the SDK. If it does not ask you which to run, you can set it up later in the Windows control panel.
To set up the debug libs in the control panel:
Go to the Direct3D tab in the DirectX Properties dialog.
Set your Debug Output Level to the 3rd, 4th or 5th notch.
Set the Debug/Retail D3D Runtime (upper right corner) to "Use Debug Version of Direct3D".

Using these settings will slightly degrade your rendering performance, but the debug information it provides in your IDE output window makes it well worth it when you are programming D3D graphics or writing your own shaders.
As you can see from the dialog, you can switch it back to use the Retail D3D libraries very easily just by changing the selection.