A32X: floor / console lightmap

This commit is contained in:
Jonathan Redpath 2017-10-02 11:53:17 +01:00
parent 23281c646d
commit 8b65641b60
4 changed files with 32 additions and 0 deletions

View file

@ -0,0 +1,22 @@
<PropertyList>
<name>floor</name>
<inherits-from>Effects/model-combined-deferred</inherits-from>
<parameters>
<normalmap-enabled type="int">0</normalmap-enabled>
<reflection-enabled type="int">0</reflection-enabled>
<reflection-dynamic type="int">0</reflection-dynamic>
<reflect_map-enabled type="int">0</reflect_map-enabled>
<reflection-correction type="float">0.1</reflection-correction>
<lightmap-enabled type="int">1</lightmap-enabled>
<lightmap-multi type="int">0</lightmap-multi>
<lightmap-factor type="float" n="0"><use>/sim/model/lights/floor-light</use></lightmap-factor>
<lightmap-color type="vec3d" n="0">1.0 1.0 1.0</lightmap-color>
<texture n="3">
<image>Aircraft/IDG-A32X/Models/Effects/floorlightmap.png</image>
<filter>linear-mipmap-linear</filter>
<wrap-s>clamp</wrap-s>
<wrap-t>clamp</wrap-t>
<internal-format>normalized</internal-format>
</texture>
</parameters>
</PropertyList>

Binary file not shown.

After

Width:  |  Height:  |  Size: 462 KiB

View file

@ -5395,4 +5395,10 @@
</action> </action>
</animation> </animation>
<effect>
<inherits-from>Aircraft/IDG-A32X/Models/Effects/floorlightmap</inherits-from>
<object-name>object0000</object-name>
</effect>
</PropertyList> </PropertyList>

View file

@ -4831,6 +4831,10 @@
<command>property-toggle</command> <command>property-toggle</command>
<property>controls/lighting/wing-lights</property> <property>controls/lighting/wing-lights</property>
</binding> </binding>
<binding>
<command>property-toggle</command>
<property>/sim/model/lights/floor-light</property> <!-- temporary until proper control panel for this light is made -->
</binding>
<binding> <binding>
<command>nasal</command> <command>nasal</command>
<script>setprop("/sim/sounde/switch1", 1);</script> <script>setprop("/sim/sounde/switch1", 1);</script>