Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Note
This enumeration is available only when developing for Windows.
Defines constants that describe the fog mode.
Namespace: Microsoft.Xna.Framework.Graphics
Assembly: Microsoft.Xna.Framework (in microsoft.xna.framework.dll)
Syntax
public enum FogMode
Members
Member name | Description | |
---|---|---|
Exponent | Fog effect intensifies in a linear manner between the start and end points, according to the following formula. ![]() |
|
ExponentSquared | Fog effect intensifies exponentially with the square of the distance, according to the following formula. ![]() |
|
Linear | Fog effect intensifies exponentially, according to the following formula. ![]() |
|
None | No fog effect. |
Remarks
Fog can be considered a measure of visibility. The lower the fog value produced by a fog equation, the less visible an object is.
See Also
Reference
RenderState.FogTableMode Property
RenderState.FogVertexMode Property
Microsoft.Xna.Framework.Graphics Namespace
Platforms
Windows XP SP2, Windows Vista