Previous:A Constant Fog Main Index Next:Creating a Filtering Fog
If you want to make sure that the background does not completely vanish in the fog you can set the transmittance channel of the fog's color to the amount of background you always want to be visible.
Using as transmittance value of 0.2 as in
fog { distance 150 color rgbt<0.3, 0.5, 0.2, 0.2> }
the fog's translucency never drops below 20% as you can see in the resulting image (fog2.pov
).
Adding a translucency threshold you make sure that the background does not vanish.
Previous:A Constant Fog Main Index Next:Creating a Filtering Fog