Variables¶
Rainbows are automatically generated by trueSKY providing that a number of conditions are met.
Rainbows can be fully customised, from position to strength and colour of the rainbow.
Both Rain Strength and Rain Streaks must be greated than 0 for rainbows to be generated, while rain parameters can have an effect on rainbow visuals. Speed at which raindrops will fall, which adjusts any ‘flutter’ seen in the Rain Streaks can affect rainbow visuals. At sizes less than 1.0mm, trueSKY will use a Submillimetric Light Scattering Approximation to adjust the spectual output.
Variable |
Definition |
Value |
---|---|---|
Automatic Rainbow Position |
Whether the rainbow follows the antisolar/antilunar point, or is manually set. |
Bool |
Elevation |
If the automatic positioning is disabled, this sets the elevation of the rainbow. |
0.0 to -90.0 |
Azimuth |
If the automatic positioning is disabled, this sets the azimuth of the rainbow. |
0.0 to 360.0 |
Intensity |
Controls the overall brightness of the rainbow. |
0.0 to 10.0 |
Depth Posit |
The point at which the rainbow intersects the terrain (dependent on a forward/reverse depth). |
0.0 to 1.0 |
Allow Occluded Rainbows |
Whether trueSKY should generate rainbows regardless of light occlusion. |
Bool |
Allow Lunar Rainbows |
Whether trueSKY should generate rainbows using the moon’s light. |
Bool |