Keyboard shortcuts

Press ← or → to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

FOG.INI

Glide scene fog density table for models and terrain.

Selection and format

The Glide renderer first reads fxart/FOG<world ID>.INI, then falls back to fxart/FOG.INI. If neither exists, all 64 entries remain zero. This selection is independent of the software renderer’s world_haze field. The installed GOG data contains only the fallback file.

Comma-separated index/value pairs fill a zero-initialized 64-entry table. Each value fills its index through the index before the next pair. This file expansion does not interpolate values. Semicolon comments are ignored.

  • Index is a table position from 0 through 63.
  • Value is a density byte from 0 through 255.
  • The final index 63 has no value and remains zero.

Shipped values

The installed fallback contains these 18 index records.

IndexValue
00
331
342
354
366
378
3810
3912
4014
4116
4218
4322
4438
4576
46136
47196
48255
63End marker, remains zero

Entries 0 through 32 are zero; entries 48 through 62 are 255. The shipped comment says “46 is the final value for 3800 render distance”. The actual density at distance 3800 uses entries 47 and 48, as described in Glide fog and clipping. Changing the clipping distance does not rescale this table.

External References