12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485 |
- <?xml version="1.0" encoding="UTF-8"?>
- <PropertyList>
- <path>WhiteLight-flat.ac</path>
- <animation>
- <type>blend</type>
- <expression>
- <sum>
- <product>
- <product>
- <property>lightpack/strobe-state/state</property>
- <value>-1</value>
- </product>
- <sum>
- <max>
- <product>
- <pow>
- <cos><property>/sim/time/sun-angle-rad</property></cos>
- <value>0.3</value>
- </pow>
- <value>0.5</value> <!-- by tuning this, you specify how much to fade during full daylight -->
- </product>
- <value>0</value>
- </max>
- <value>-1</value>
- </sum>
- <value>-1</value>
- </product>
- <value>1</value>
- </sum>
- </expression>
- </animation>
-
- <effect>
- <inherits-from>Effects/model-transparent</inherits-from>
- <condition>
- <property>/sim/rendering/rembrandt/enabled</property>
- </condition>
- <object-name>Light</object-name>
- </effect>
-
- <animation>
- <type>noshadow</type>
- <object-name>Light</object-name>
- </animation>
- <animation>
- <type>alpha-test</type>
- <alpha-factor>0.01</alpha-factor>
- </animation>
- <animation>
- <type>billboard</type>
- <object-name>Light</object-name>
- <spherical type="bool">true</spherical>
- </animation>
- <animation>
- <type>material</type>
- <object-name>Light</object-name>
- <emission>
- <red> 1.0 </red>
- <green> 1.0 </green>
- <blue> 1.0 </blue>
- </emission>
- </animation>
- <animation>
- <type>dist-scale</type>
- <object-name>Light</object-name>
- <interpolation>
- <entry><ind> 0 </ind><dep> 0.50 </dep></entry>
- <entry><ind> 20 </ind><dep> 1.00 </dep></entry>
- <entry><ind> 1500 </ind><dep> 10.00 </dep></entry>
- </interpolation>
- <center> <!-- prevent the light from moving forward, obscuring eg. landing lights (the model is offset from center) -->
- <x-m>0</x-m>
- <y-m>-0.24</y-m>
- <z-m>0</z-m>
- </center>
- </animation>
- </PropertyList>
|