shader: "snow"

"snow"

ShaderForeground

"snow"( "near scale" LtFloat 0.1
"far scale" LtFloat 0.02
"flake size" LtFloat 0.4
"flake density" LtFloat 0.4
"noise amplitude" LtFloat 0.2
"noise scale" LtFloat 0.03
"flake colour" LtColour (1.0, 1.0, 1.0)
"random seed" LtInt32 LI_DEFAULT_RANDOM_SEED
)
Synopsis Gives the effect of snow flakes falling in front of camera.
Locationlishlite
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)
Next page alphabetically (softpencil)
Index


Copyright © 1990-2004, 2005 LightWork Design Limited. All rights reserved