d3d_anisotropy

The d3d_anisotropy variable gives the maximum level of anisotropy (default = 0 = no anisotropic filtering). Anisotropic texture filtering is supported by some newer 3D cards and eliminates the distortion visible in the texture whose surface is oriented at an angle with respect to the plane of the screen. Set the variable to a value greater than 1.0 for activating anisotropic texture filtering.

Range:

< 1 filtering off
>= 1 filtering on

Type:

var

Remarks:

This variable must be set before loading the first level. Anisotropic texture filtering is only supported by some new 3D cards (Geforce3, Radeon8500, Parhelia). It can remarkably reduce the frame rate, and can affect other rendering states like environment or bump mapping. So use this veraible with caution. When experiencing slow frame rates or odd effects, set it to 0 (and also disable it in the 3D card property panel, if possible).

Example:

if (d3d_mode >= 3) // good cards only 
{ d3d_anisotropy = 2; // anisotropic filtering active }

See also:

warn_level, d3d_mode ► latest version online