Package com.ms.com.directX |
![]() Previous |
![]() Microsoft Packages |
![]() Index |
![]() Next |
Contains values that specify how rapidly and in what ways the fog effect intensifies with increasing distance from the camera.
This is the only fog mode currently supported.
Note that fog can be considered a measure of visibility—the lower the fog value produced by one of the fog equations, the less visible an object is.
You can specify the fog's density and start and end points by using the SetSceneFogParams method. In the formulas for the exponential fog modes, e is the base of the natural logarithms; its value is approximately 2.71828.