A32X: floor / console lightmap
This commit is contained in:
parent
23281c646d
commit
8b65641b60
4 changed files with 32 additions and 0 deletions
22
Models/Effects/floorlightmap.eff
Normal file
22
Models/Effects/floorlightmap.eff
Normal 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>
|
BIN
Models/Effects/floorlightmap.png
Normal file
BIN
Models/Effects/floorlightmap.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 462 KiB |
|
@ -5395,4 +5395,10 @@
|
|||
</action>
|
||||
</animation>
|
||||
|
||||
<effect>
|
||||
<inherits-from>Aircraft/IDG-A32X/Models/Effects/floorlightmap</inherits-from>
|
||||
<object-name>object0000</object-name>
|
||||
</effect>
|
||||
|
||||
|
||||
</PropertyList>
|
|
@ -4831,6 +4831,10 @@
|
|||
<command>property-toggle</command>
|
||||
<property>controls/lighting/wing-lights</property>
|
||||
</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>
|
||||
<command>nasal</command>
|
||||
<script>setprop("/sim/sounde/switch1", 1);</script>
|
||||
|
|
Reference in a new issue