<?xml version="1.0" encoding="utf-8"?>

<scene>

  <renderer_settings>
    <width>800</width>
    <height>600</height>

    <bidirectional>false</bidirectional>
  </renderer_settings>


  <camera>
    <pos>0 0 300</pos>
    <forwards>0 1 0.4</forwards>
    <up>0 0 1</up>

    <focus_distance>2.000000</focus_distance>
    <aspect_ratio>1</aspect_ratio>
    <aperture_radius>0.001f</aperture_radius>
    <sensor_width>0.036</sensor_width>
    <lens_sensor_dist>0.03</lens_sensor_dist>
    <white_balance>D65</white_balance>

  </camera>

  <tonemapping>
    <linear>
      <scale>0.05</scale>
    </linear>
  </tonemapping>

  <skylight>
    <sundir>0 1 1</sundir>
    <turbidity>4.0</turbidity>
    <extra_atmospheric>true</extra_atmospheric>
  </skylight>


  <material>
    <name>globe</name>

    <diffuse>
      
      <albedo>
        <constant>
          <uniform>
            <value>0.37</value>
          </uniform>
        </constant>
      </albedo>
    </diffuse>
  </material>

  <sphere>
    <material_name>globe</material_name>
    <center>0 0 -6378135</center>
    <radius>6378135</radius>
  </sphere>



  <!-- Outer atmospheric shell up to 80km above sea level-->
  <medium>
    <name>outer_atmosphere_medium</name>

    <precedence>2</precedence>

    <atmosphere>
      <turbidity>3.0</turbidity>
      <center>0 0 -6378135</center>
    </atmosphere>
  </medium>

  <material>
    <name>outer_atmosphere_medium_mat</name>

    <specular>
      <transparent>true</transparent>
      <internal_medium_name>outer_atmosphere_medium</internal_medium_name>
    </specular>
  </material>


  <!-- 6,378,135 + 80,000 = 6,458,135 m -->
  <sphere>
    <material_name>outer_atmosphere_medium_mat</material_name>
    <center>0 0 -6378135</center>
    <radius>6458135</radius> 
  </sphere>

</scene>
