<weather>
  <!-- Textures for different lightnings -->
  <lightning texture="./textures/lightning1.dds" x1="0.0" y1="0.0" x2="0.37" y2="1.0" />
  <lightning texture="./textures/lightning1.dds" x1="0.37" y1="0.0" x2="0.58" y2="1.0" />
  <lightning texture="./textures/lightning1.dds" x1="0.58" y1="0.0" x2="1.0" y2="1.0" />

  <effect id="1"> <!-- rain -->
    <sprites>no</sprites> <!-- draw as lines -->
    <density>1.0</density>
    <color r="180" g="180" b="180" a="80" />
    <size>1.0</size> <!-- size of the lines in pixels -->
    <speed>6.0</speed>
    <wind_effect>2.5</wind_effect>
    <!-- no sprite so no texture -->
  </effect>

  <effect id="2"> <!-- snow -->
    <sprites>yes</sprites> <!-- draw as sprites -->
    <density>1.0</density>
    <color r="255" g="255" b="255" a="200" />
    <size>0.015</size> <!-- size of particles in meter -->
    <speed>0.5</speed>
    <wind_effect>0.5</wind_effect>
    <texture>./textures/eye_candy/snowflake.dds</texture>
  </effect>

</weather>
