Add reading light (hooked to main panel lt until other knob can be simulated
This commit is contained in:
parent
e6dc2338e4
commit
4da271c2c8
5 changed files with 53 additions and 4 deletions
BIN
Models/Effects/checklist.png
Normal file
BIN
Models/Effects/checklist.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 106 KiB |
21
Models/Effects/reading-light-checklist.eff
Normal file
21
Models/Effects/reading-light-checklist.eff
Normal file
|
@ -0,0 +1,21 @@
|
|||
<PropertyList>
|
||||
<name>panel</name>
|
||||
<inherits-from>Effects/model-combined-deferred</inherits-from>
|
||||
<parameters>
|
||||
<normalmap-enabled type="int">0</normalmap-enabled>
|
||||
<reflection-enabled type="int">0</reflection-enabled>
|
||||
<dirt-enabled type="int">0</dirt-enabled>
|
||||
<ambient-correction type="float">0.0</ambient-correction>
|
||||
<lightmap-enabled type="int">1</lightmap-enabled>
|
||||
<!--<lightmap-factor type="float" n="0"><use>/controls/lighting/reading-light-knb</use></lightmap-factor>-->
|
||||
<lightmap-factor type="float" n="0"><use>/controls/lighting/main-flood-knb</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/checklist.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>
|
21
Models/Effects/reading-light.eff
Normal file
21
Models/Effects/reading-light.eff
Normal file
|
@ -0,0 +1,21 @@
|
|||
<PropertyList>
|
||||
<name>panel</name>
|
||||
<inherits-from>Effects/model-combined-deferred</inherits-from>
|
||||
<parameters>
|
||||
<normalmap-enabled type="int">0</normalmap-enabled>
|
||||
<reflection-enabled type="int">0</reflection-enabled>
|
||||
<dirt-enabled type="int">0</dirt-enabled>
|
||||
<ambient-correction type="float">0.0</ambient-correction>
|
||||
<lightmap-enabled type="int">1</lightmap-enabled>
|
||||
<!--<lightmap-factor type="float" n="0"><use>/controls/lighting/reading-light-knb</use></lightmap-factor>-->
|
||||
<lightmap-factor type="float" n="0"><use>/controls/lighting/main-flood-knb</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/reading-light.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/reading-light.png
Normal file
BIN
Models/Effects/reading-light.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 42 KiB |
|
@ -5664,7 +5664,7 @@
|
|||
<object-name>thr_quad</object-name>
|
||||
<object-name>trim_1</object-name>
|
||||
<object-name>trim_2</object-name>
|
||||
<object-name>FCU</object-name>
|
||||
<object-name>fcu_panel</object-name>
|
||||
<object-name>seat1</object-name>
|
||||
<object-name>seat4</object-name>
|
||||
<object-name>seat6</object-name>
|
||||
|
@ -5684,7 +5684,16 @@
|
|||
<effect>
|
||||
<inherits-from>Aircraft/IDG-A32X/Models/Effects/panel-flood</inherits-from>
|
||||
<object-name>main_panel</object-name>
|
||||
<object-name>main_panel_signboard</object-name>
|
||||
</effect>
|
||||
|
||||
<effect>
|
||||
<inherits-from>Aircraft/IDG-A32X/Models/Effects/reading-light</inherits-from>
|
||||
<object-name>WindowCpt</object-name>
|
||||
</effect>
|
||||
|
||||
<effect>
|
||||
<inherits-from>Aircraft/IDG-A32X/Models/Effects/reading-light-checklist</inherits-from>
|
||||
<object-name>Sticker</object-name>
|
||||
</effect>
|
||||
|
||||
<!-- move any objects requiring lightmap to another effect file -->
|
||||
|
@ -5939,9 +5948,7 @@
|
|||
<object-name>wall_1</object-name>
|
||||
<object-name>wall_2</object-name>
|
||||
<object-name>window_frame</object-name>
|
||||
<object-name>WindowCpt</object-name>
|
||||
<object-name>HeadsetCpt</object-name>
|
||||
<object-name>Sticker</object-name>
|
||||
<object-name>WindowGlassCpt</object-name>
|
||||
<object-name>WindowOpenerCpt</object-name>
|
||||
<object-name>WindowFo</object-name>
|
||||
|
|
Reference in a new issue