Working with Earlier Drivers
This section lists issues that may be encountered when working with Microsoft® DirectX® 8.x on drivers written for versions of DirectX earlier than DirectX 8.x.
- When working with a TnLHAL device, the fog intensity is computed but the absolute value operation is not applied to this value. Rather, the value is left negative if that is what is computed. The best way to avoid this situation is to set up transforms appropriately. A less-preferred method is to make the fog-start and fog-end values negative to match.
You can detect a driver not written for DirectX 8.x by querying the MaxStream member of D3DCAPS8. If this value is 0, then it is not a DirectX 8.x driver.