PDA

View Full Version : Fog


duda
11-20-2003, 09:47 AM
Under v2.12, when calling:

viz.clearcolor(1.0, 1.0, 1.0)
viz.fog(0.2)

I get a white background, but black fog? See attached file.

farshizzo
11-20-2003, 10:45 AM
Hi,

To set the color of fog use the following command:
viz.fogcolor(1.0,1.0,1.0)
viz.fog(0.2)