d3d_anisotropy
Level of
anisotropy. Anisotropic texture
filtering is supported by newer 3D cards and eliminates pixel distortions
and moiré effects of textures oriented at an angle to
the screen plane. Set the variable to a value greater than 0 for
activating anisotropic texture filtering.
Range:
0 |
anisotropic filtering off (default) |
1..7 |
anisotropic filter degree |
Type:
var
Remarks:
- This variable must be set before loading the first level.
-
Anisotropic texture
filtering is not supported by some old 3D cards.
It can reduce the frame rate and can affect other
rendering states like environment or bump mapping - so use it 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).
-
For anisotropic mipmapping, d3d_mipmapping must be set at 4 or above.
Example:
if (d3d_caps & 2) // good cards only
{
d3d_anisotropy = 2; // anisotropic filtering active
}
See also:
warn_level,
d3d_caps, d3d_flags, d3d_antialias,
d3d_mipmapping
► latest
version online