|
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Class | Foreground | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Synopsis |
Gives the effect of snow flakes falling in front of camera The effect is produced by two overlayed planes of randomly dispersed `snowflakes'.
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Arguments |
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Location | lishlite | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Description |
A foreground shader that gives the effect of snow flakes
falling in front of the camera.
The effect is produced by two overlayed planes of
randomly dispersed `snowflakes'. The scale of each of
the two planes is specified by the parameters
"near scale" and "far scale".
The size and density of the flakes is given by the
parameters "flake size" and "flake density",
and the irregular appearence of the edges of the flakes
is controlled by the "noise amplitude" and
"noise scale" parameters (these last two values
should lie in the range 0.0 to 1.0).
The colour of the snowflakes is specified
by the parameter "flake colour".
Finally, it is possible to change the distribution of the snow
flakes from the default by changing the
"random seed" parameter. This provides an initial seed
value for the random distribution.
Previous page alphabetically (sky) | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Copyright © 1990-2005, 2006 LightWork Design Limited. All rights reserved | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||