Because vertex fog is applied during lighting, you control several vertex fog parameters through the lighting interface. For general information about using vertex fog, see Vertex Fog, in the Common Techniques and Special Effects section.
The D3DLIGHTSTATE_FOGMODE, D3DLIGHTSTATE_FOGSTART, D3DLIGHTSTATE_FOGEND, and D3DLIGHTSTATE_FOGDENSITY lighting states control vertex fog parameters.