1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495 |
- <?xml version="1.0" encoding="UTF-8"?>
- <PropertyList>
- <model>
- <name>GreenLightFlare</name>
- <path>Flares/GreenLight-flare.xml</path>
- </model>
- <model>
- <name>GreenLightRemb</name>
- <path>Rembrandt/GreenLight-remb.xml</path>
- </model>
- <animation>
- <type>select</type>
- <object-name>GreenLightFlare</object-name>
- <object-name>GreenLightRemb</object-name>
- <condition>
- <and>
- <property>lightpack/nav-lights-intensity</property>
- <not><property>sim/crashed</property></not>
- </and>
- </condition>
- </animation>
-
- <!-- Coompositor lights -->
-
- <light>
- <name>green1</name>
- <type>spot</type>
- <direction>
- <x>0.0</x>
- <y>0.0</y>
- <z>1.0</z>
- </direction>
- <ambient>
- <r>0.03</r>
- <g>1</g>
- <b>0.03</b>
- <a>1.0</a>
- </ambient>
- <diffuse>
- <r>0.20</r>
- <g>0.80</g>
- <b>0.20</b>
- <a>1.0</a>
- </diffuse>
- <specular>
- <r>0.30</r>
- <g>1.00</g>
- <b>0.30</b>
- <a>1.0</a>
- </specular>
- <color>
- <r>0.00</r>
- <g>1</g>
- <b>0.00</b>
- <a>1.0</a>
- </color>
- <dim-factor>
- <expression>
- <product>
- <property>lightpack/nav-lights-intensity</property>
- <value>-0.35</value>
- <sum>
- <product>
- <max>
- <pow>
- <cos><property>/sim/time/sun-angle-rad</property></cos>
- <value>0.3</value>
- </pow>
- <value>0</value>
- </max>
- <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>
- <spot-exponent>5</spot-exponent>
- <spot-cutoff>60</spot-cutoff>
- <range-m>50</range-m>
- <intensity>500</intensity>
-
- </light>
-
- </PropertyList>
|