Function camfog3d
#include <macaw3d.h>void camfog3d(int camera, double near, double far, int colour);
Adds fog to what a camera sees, so far-off things fade into a colour.
Parameters
cameraint- The camera's number.
neardouble- How far from the camera the fog starts, in world units. Less than 0: no fog.
fardouble- How far away the fog becomes solid, in world units.
colourint- The fog's colour number. -1: the camera's clear colour (or
NIGHTif it doesn't clear).
In Cameras, with fov3d, clscolor3d, camproject3d, campick3d.