<?xml version="1.0" encoding="UTF-8"?>

<PropertyList>

  <path>HalfSphere.ac</path>
  
  <animation>
    <type>select</type>
    <object-name>Sphere</object-name>
    <condition>
      <and>
        <property>/sim/rendering/rembrandt/enabled</property>
        <greater-than>
          <property>/sim/rendering/shaders/lights</property>
          <value>1</value>
        </greater-than>
      </and>
    </condition>
  </animation>

  <animation>
    <type>light</type>
    <light-type>spot</light-type>
    <name>RedLightRemb</name>
    <object-name>Sphere</object-name>
    <nopreview/>
    <position>
      <x>0.0</x>
      <y>0.0</y>
      <z>0.0</z>
    </position>
    <direction>
      <x>0.0</x>
      <y>0.0</y>
      <z>1.0</z>
    </direction>
    <ambient>
      <r>0.03</r>
      <g>0.01</g>
      <b>0.01</b>
      <a>1.0</a>
    </ambient>
    <diffuse>
      <r>0.80</r>
      <g>0.20</g>
      <b>0.20</b>
      <a>1.0</a>
    </diffuse>
    <specular>
      <r>1.00</r>
      <g>0.30</g>
      <b>0.30</b>
      <a>1.0</a>
    </specular>
    <dim-factor>
      <expression>
        <product>
          <property>lightpack/nav-lights-intensity</property>
          <value>-0.35</value>
          <sum>
            <product>
              <pow>
                <max>
                  <cos><property>/sim/time/sun-angle-rad</property></cos>
                  <value>0</value>
                </max>
                <value>0.3</value>
              </pow>
              <value>1.2</value>
            </product>
            <value>-1</value>
          </sum>
        </product>
      </expression>
    </dim-factor>
    <attenuation>
      <c>1.0</c>
      <l>0.05</l>
      <q>0.01</q>
    </attenuation>
    <exponent>0.65</exponent>
    <cutoff>90</cutoff>
    <near-m>0.001</near-m>
    <far-m>30</far-m>
  </animation>

</PropertyList>
