Shader: "snow"

"snow"

ClassForeground
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

"near scale" Type: LtFloat
Default:0.1
Range:[ 0, inf ]
Hint:-
"far scale" Type: LtFloat
Default:0.02
Range:[ 0, inf ]
Hint:-
"flake size" Type: LtFloat
Default:0.4
Range:[ 0, inf ]
Hint:[ 0, 10 ]
"flake density" Type: LtFloat
Default:0.4
Range:[ 0, 1 ]
Hint:-
"noise amplitude" Type: LtFloat
Default:0.2
Range:[ 0, 1 ]
Hint:-
"noise scale" Type: LtFloat
Default:0.03
Range:[ 0, inf ]
Hint:[ 0, 5 ]
"flake colour" Type: LtColour
Default:(1.0, 1.0, 1.0)
Range: [ 0, inf ], [ 0, inf ], [ 0, inf ]
Hint: [ 0, 1 ], [ 0, 1 ], [ 0, 1 ]
"random seed" Type: LtInt32
Default:LI_DEFAULT_RANDOM_SEED
Range:[ -inf, inf ]
Hint:-
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-2005, 2006 LightWork Design Limited. All rights reserved