volume
fog( float distance = 1, color background = 0 )
{
    float d;

    d = 1 - exp( -length(I)/distance );
    C = mix( C, background, d );
    opacity = mix( opacity, color (1,1,1), d ); /* background is opaque. */
}
