atmosphere

        atmosphere [N] [atmosphere effects]
This keyword is used to re-define the "air" (the default atmosphere). If given N is the atmosphere's index of refraction (see section 6.3 of the Rayshade User's Guide for details).

The various atmosphere effects are detailed below.


fog

        atmosphere [N] fog Red Green Blue  x y z
Creates a (coloured) fog effect; (x y z) defines the "thinness" of the fog (see section 6.2 of the Rayshade User's Guide for details).


fogdeck

        atmosphere [N] fogdeck altitude offset  x1 y1 z1 ChaosScale
                       Red Green Blue  x2 y2 z2
A "low-altitude" fog - try it out! (x1 y1 z1) defines the scale, (x2 y2 z2) defines thinness.


mist

        atmosphere [N] mist Red Green Blue  x y z bottom scale
Similar to fog, see section 6.2 of the Rayshade User's Guide for details.


Go to next chapter:
Defining Surfaces.

Return to Contents.

THE END - Notes on Rayshade - 3 - Atmospheric Effects