Add ovhd light / dome

This commit is contained in:
Jonathan Redpath 2018-11-09 14:21:11 +00:00
parent d0681ba300
commit 7abd49533f

View file

@ -969,6 +969,20 @@
<name>Panel lighting</name>
<type>material</type>
<object-name>MarkingLts</object-name>
<condition>
<not>
<and>
<greater-than>
<property>sim/model/lights/dome-light</property>
<value>0</value>
</greater-than>
<less-than>
<property>controls/lighting/overhead-panel-norm</property>
<value>0.25</value>
</less-than>
</and>
</not>
</condition>
<emission>
<red>1</red>
<green>0.824</green>
@ -977,6 +991,33 @@
</emission>
</animation>
<!-- Panel lighting -->
<animation>
<name>Panel lighting</name>
<type>material</type>
<object-name>MarkingLts</object-name>
<condition>
<and>
<not>
<greater-than>
<property>controls/lighting/overhead-panel-norm</property>
<value>0.25</value>
</greater-than>
</not>
<greater-than>
<property>sim/model/lights/dome-light</property>
<value>0</value>
</greater-than>
</and>
</condition>
<emission>
<red>0.20</red>
<green>0.20</green>
<blue>0.20</blue>
<factor-prop>sim/model/lights/dome-light</factor-prop>
</emission>
</animation>
<animation>
<name>Panel lighting</name>
<type>material</type>