Add ovhd light / dome
This commit is contained in:
parent
d0681ba300
commit
7abd49533f
1 changed files with 41 additions and 0 deletions
|
@ -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>
|
||||
|
|
Reference in a new issue