123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081 |
- <?xml version="1.0" encoding="UTF-8"?>
- <PropertyList>
- <path>RedLight-flat.ac</path>
-
- <animation>
- <type>blend</type>
- <expression>
- <sum>
- <product>
- <product>
- <property>lightpack/beacon-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>billboard</type>
- <object-name>Light</object-name>
- <spherical type="bool">true</spherical>
- </animation>
- <animation>
- <type>noshadow</type>
- <object-name>Light</object-name>
- </animation>
- <animation>
- <type>alpha-test</type>
- <alpha-factor>0.01</alpha-factor>
- </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>
- </animation>
- </PropertyList>
|