d3d_flags

Sets several flags that affect rendering mode.

Range:

1 - Activate dithering to emulate color ranges on low-color textures (default).
2 - Activate pixel fog (default); smoother than vertex fog, but slightly slower and not supported on some old 3D cards.

Type:

var

Remarks:

Example:

void main()
{
  d3d_flags &= ~2; // disable pixel fog, enforce vertex fog
  ...

See also:

d3d_antialias, d3d_anisotropy, fog_color

► latest version online