12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394 |
- <?xml version="1.0" encoding="UTF-8"?>
- <PropertyList>
- <model>
- <name>RedLightFlare</name>
- <path>Flares/RedLight-flare.xml</path>
- </model>
- <model>
- <name>RedLightRemb</name>
- <path>Rembrandt/RedLight-remb.xml</path>
- </model>
- <animation>
- <type>select</type>
- <object-name>RedLightFlare</object-name>
- <object-name>RedLightRemb</object-name>
- <condition>
- <and>
- <property>lightpack/nav-lights-intensity</property>
- <not><property>sim/crashed</property></not>
- </and>
- </condition>
- </animation>
-
-
- <!-- Coompositor lights -->
-
- <light>
- <name>red1</name>
- <type>spot</type>
- <position>
- <x-m>0.0</x-m>
- <y-m>0.0</y-m>
- <z-m>0</z-m>
- </position>
- <direction>
- <x>0.0</x>
- <y>0.0</y>
- <z>1.0</z>
- </direction>
- <ambient>
- <r>1</r>
- <g>0.03</g>
- <b>0.03</b>
- <a>1</a>
- </ambient>
- <diffuse>
- <r>0.95</r>
- <g>0.9</g>
- <b>0.9</b>
- <a>1</a>
- </diffuse>
- <specular>
- <r>0.95</r>
- <g>0.9</g>
- <b>0.9</b>
- <a>1</a>
- </specular>
- <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>
-
-
- </light>
- </PropertyList>
|