fog_start

fog_end

Alternatively to controlling the fog strength through the fog parameter, these parameters give a start and end range for fog in D3D mode. There won't be any fog closer than fog_start; the world will be all foggy beyond fog_end. This way a very sharp fog boundary can be given, for instance for completely hiding everything outside clip_far.

Range:

0 .. view.clip_far (default: fog_start = 100, fog_end = 1000)

Type:

var

Remarks:

Example:

camera.fog_start = 0.8 * camera.clip_far; // fog starts at 80% of clip range
camera.fog_end = 0.9 * camera.clip_far; // total foggy at 90% of clip range

See also:

layer, pos_x, pos_y, size_x, size_y, x, y, z, pan, tilt, roll, arc, aspect, offset_x, offset_y, ambient, fog, alpha, genius, portal, flags