SOFT_FOG

THE BOX'S MAIN HELP:
This impliments the soft fog volume shader.
FOG  is the color of the fog.
RATE is the maximum opacity of the fog.
BEG  is the beginning of the fog.
END  maximum opacity of the fog is reached at this distance.
RAYS attenuate light rays?

FOG (input):
This must be a color.  The default is WHITE.
This is the color of the fog.

RATE (input):
This must be a scalar.  The default is 0.0, totally opaque at END.
This is the maximum opacity of the fog, reversed.

BEG (input):
This must be a scalar.  The default is 1.0.
This is the distance from the camera postion where the fog begins.
The fog density is linearly interpolated between totally transparent
at BEG to the maximum value set by OPAC at END.

END (input):
This must be a scalar.  The default is 32000.
This is the distance from the camera postion
at which the maximum opacity of the fogs reached.
The fog density is linearly interpolated between totally transparent
at BEG to the maximum value set by OPAC at END.

RAYS (input):
This is a boolean flag.  
Do you want lights rays attenuated as well?
The default is miFALSE.

OUT (output):
This is a fog shader.

<-- BACK TO Shaders

© Copyright 1996,1998 Cinema Graphics Inc. All Rights reserved.