1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889 |
- <?xml version="1.0" encoding="UTF-8"?>
- <PropertyList>
- <path>WhiteLight-flat.ac</path>
- <offsets>
- <heading-deg>-90</heading-deg>
- </offsets>
- <animation>
- <type>blend</type>
- <expression>
- <sum>
- <product>
- <product>
- <property>lightpack/white-light-intensity</property>
- <value>-5</value>
- </product>
- <sum>
- <max>
- <product>
- <pow>
- <cos><property>/sim/time/sun-angle-rad</property></cos>
- <value>0.3</value>
- </pow>
- <value>0.8</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> 0.70 </red>
- <green> 0.70 </green>
- <blue> 0.70 </blue>
- </emission>
- </animation>
- <animation>
- <type>dist-scale</type>
- <object-name>Light</object-name>
- <interpolation>
- <entry><ind> 0 </ind><dep> 0.375 </dep></entry>
- <entry><ind> 20 </ind><dep> 0.15 </dep></entry>
- <entry><ind> 1500 </ind><dep> 3.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>
|