Panel floodlights light up integral lights
This commit is contained in:
parent
ec5d75790c
commit
f510190b49
8 changed files with 160 additions and 1 deletions
BIN
Models/Effects/brightness.png
Normal file
BIN
Models/Effects/brightness.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 43 KiB |
BIN
Models/Effects/gearlabels.png
Normal file
BIN
Models/Effects/gearlabels.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 57 KiB |
BIN
Models/Effects/left-panel-flood.png
Normal file
BIN
Models/Effects/left-panel-flood.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 40 KiB |
35
Models/Effects/panel-flood-glare-right.eff
Normal file
35
Models/Effects/panel-flood-glare-right.eff
Normal file
|
@ -0,0 +1,35 @@
|
|||
<PropertyList>
|
||||
<name>panel</name>
|
||||
<inherits-from>Effects/model-interior</inherits-from>
|
||||
<parameters>
|
||||
<lightmap-enabled type="int">1</lightmap-enabled>
|
||||
<lightmap-factor type="float" n="0"><use>/controls/lighting/panel-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/gearlabels.png</image>
|
||||
<filter>linear-mipmap-linear</filter>
|
||||
<wrap-s>clamp</wrap-s>
|
||||
<wrap-t>clamp</wrap-t>
|
||||
<internal-format>normalized</internal-format>
|
||||
</texture>
|
||||
<irradiance-map-type type="int">2</irradiance-map-type>
|
||||
<irradiance-map-strength type="float">0.1</irradiance-map-strength>
|
||||
<texture n="4">
|
||||
<type>cubemap</type>
|
||||
<images>
|
||||
<positive-x>Models/Effects/res/white.png</positive-x>
|
||||
<negative-x>Models/Effects/res/white.png</negative-x>
|
||||
<positive-y>Models/Effects/res/white.png</positive-y>
|
||||
<negative-y>Models/Effects/res/white.png</negative-y>
|
||||
<positive-z>Models/Effects/res/white.png</positive-z>
|
||||
<negative-z>Models/Effects/res/white.png</negative-z>
|
||||
</images>
|
||||
</texture>
|
||||
<!--
|
||||
the cube center must be the same as the camera x,y,z in blend
|
||||
-->
|
||||
<opacity-cube-center type="vec3d" n="0"> 0.207344 0.0 0.797276</opacity-cube-center>
|
||||
<opacity-cube-scale type="vec3d" n="0"> 0.672 0.672 0.672</opacity-cube-scale>
|
||||
<opacity-cube-angle type="float">0.0</opacity-cube-angle>
|
||||
</parameters>
|
||||
</PropertyList>
|
35
Models/Effects/panel-flood-glare.eff
Normal file
35
Models/Effects/panel-flood-glare.eff
Normal file
|
@ -0,0 +1,35 @@
|
|||
<PropertyList>
|
||||
<name>panel</name>
|
||||
<inherits-from>Effects/model-interior</inherits-from>
|
||||
<parameters>
|
||||
<lightmap-enabled type="int">1</lightmap-enabled>
|
||||
<lightmap-factor type="float" n="0"><use>/controls/lighting/panel-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/left-panel-flood.png</image>
|
||||
<filter>linear-mipmap-linear</filter>
|
||||
<wrap-s>clamp</wrap-s>
|
||||
<wrap-t>clamp</wrap-t>
|
||||
<internal-format>normalized</internal-format>
|
||||
</texture>
|
||||
<irradiance-map-type type="int">2</irradiance-map-type>
|
||||
<irradiance-map-strength type="float">0.1</irradiance-map-strength>
|
||||
<texture n="4">
|
||||
<type>cubemap</type>
|
||||
<images>
|
||||
<positive-x>Models/Effects/res/white.png</positive-x>
|
||||
<negative-x>Models/Effects/res/white.png</negative-x>
|
||||
<positive-y>Models/Effects/res/white.png</positive-y>
|
||||
<negative-y>Models/Effects/res/white.png</negative-y>
|
||||
<positive-z>Models/Effects/res/white.png</positive-z>
|
||||
<negative-z>Models/Effects/res/white.png</negative-z>
|
||||
</images>
|
||||
</texture>
|
||||
<!--
|
||||
the cube center must be the same as the camera x,y,z in blend
|
||||
-->
|
||||
<opacity-cube-center type="vec3d" n="0"> 0.207344 0.0 0.797276</opacity-cube-center>
|
||||
<opacity-cube-scale type="vec3d" n="0"> 0.672 0.672 0.672</opacity-cube-scale>
|
||||
<opacity-cube-angle type="float">0.0</opacity-cube-angle>
|
||||
</parameters>
|
||||
</PropertyList>
|
35
Models/Effects/panel-flood-left-brightness.eff
Normal file
35
Models/Effects/panel-flood-left-brightness.eff
Normal file
|
@ -0,0 +1,35 @@
|
|||
<PropertyList>
|
||||
<name>panel</name>
|
||||
<inherits-from>Effects/model-interior</inherits-from>
|
||||
<parameters>
|
||||
<lightmap-enabled type="int">1</lightmap-enabled>
|
||||
<lightmap-factor type="float" n="0"><use>/controls/lighting/panel-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/brightness.png</image>
|
||||
<filter>linear-mipmap-linear</filter>
|
||||
<wrap-s>clamp</wrap-s>
|
||||
<wrap-t>clamp</wrap-t>
|
||||
<internal-format>normalized</internal-format>
|
||||
</texture>
|
||||
<irradiance-map-type type="int">2</irradiance-map-type>
|
||||
<irradiance-map-strength type="float">0.1</irradiance-map-strength>
|
||||
<texture n="4">
|
||||
<type>cubemap</type>
|
||||
<images>
|
||||
<positive-x>Models/Effects/res/white.png</positive-x>
|
||||
<negative-x>Models/Effects/res/white.png</negative-x>
|
||||
<positive-y>Models/Effects/res/white.png</positive-y>
|
||||
<negative-y>Models/Effects/res/white.png</negative-y>
|
||||
<positive-z>Models/Effects/res/white.png</positive-z>
|
||||
<negative-z>Models/Effects/res/white.png</negative-z>
|
||||
</images>
|
||||
</texture>
|
||||
<!--
|
||||
the cube center must be the same as the camera x,y,z in blend
|
||||
-->
|
||||
<opacity-cube-center type="vec3d" n="0"> 0.207344 0.0 0.797276</opacity-cube-center>
|
||||
<opacity-cube-scale type="vec3d" n="0"> 0.672 0.672 0.672</opacity-cube-scale>
|
||||
<opacity-cube-angle type="float">0.0</opacity-cube-angle>
|
||||
</parameters>
|
||||
</PropertyList>
|
35
Models/Effects/panel-flood-right-brightness.eff
Normal file
35
Models/Effects/panel-flood-right-brightness.eff
Normal file
|
@ -0,0 +1,35 @@
|
|||
<PropertyList>
|
||||
<name>panel</name>
|
||||
<inherits-from>Effects/model-interior</inherits-from>
|
||||
<parameters>
|
||||
<lightmap-enabled type="int">1</lightmap-enabled>
|
||||
<lightmap-factor type="float" n="0"><use>/controls/lighting/panel-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/brightness.png</image>
|
||||
<filter>linear-mipmap-linear</filter>
|
||||
<wrap-s>clamp</wrap-s>
|
||||
<wrap-t>clamp</wrap-t>
|
||||
<internal-format>normalized</internal-format>
|
||||
</texture>
|
||||
<irradiance-map-type type="int">2</irradiance-map-type>
|
||||
<irradiance-map-strength type="float">0.1</irradiance-map-strength>
|
||||
<texture n="4">
|
||||
<type>cubemap</type>
|
||||
<images>
|
||||
<positive-x>Models/Effects/res/white.png</positive-x>
|
||||
<negative-x>Models/Effects/res/white.png</negative-x>
|
||||
<positive-y>Models/Effects/res/white.png</positive-y>
|
||||
<negative-y>Models/Effects/res/white.png</negative-y>
|
||||
<positive-z>Models/Effects/res/white.png</positive-z>
|
||||
<negative-z>Models/Effects/res/white.png</negative-z>
|
||||
</images>
|
||||
</texture>
|
||||
<!--
|
||||
the cube center must be the same as the camera x,y,z in blend
|
||||
-->
|
||||
<opacity-cube-center type="vec3d" n="0"> 0.207344 0.0 0.797276</opacity-cube-center>
|
||||
<opacity-cube-scale type="vec3d" n="0"> 0.672 0.672 0.672</opacity-cube-scale>
|
||||
<opacity-cube-angle type="float">0.0</opacity-cube-angle>
|
||||
</parameters>
|
||||
</PropertyList>
|
|
@ -5928,6 +5928,16 @@
|
|||
<object-name>main_panel</object-name>
|
||||
</effect>
|
||||
|
||||
<effect>
|
||||
<inherits-from>Aircraft/IDG-A32X/Models/Effects/panel-flood-left-brightness</inherits-from>
|
||||
<object-name>brightness_panel_left_glare</object-name>
|
||||
</effect>
|
||||
|
||||
<effect>
|
||||
<inherits-from>Aircraft/IDG-A32X/Models/Effects/panel-flood-right-brightness</inherits-from>
|
||||
<object-name>brightness_panel_right_glare</object-name>
|
||||
</effect>
|
||||
|
||||
<effect>
|
||||
<inherits-from>Aircraft/IDG-A32X/Models/Effects/pedestal-flood</inherits-from>
|
||||
<object-name>pedestal_low</object-name>
|
||||
|
@ -5938,6 +5948,16 @@
|
|||
<object-name>pedestal_low_glare</object-name>
|
||||
</effect>
|
||||
|
||||
<effect>
|
||||
<inherits-from>Aircraft/IDG-A32X/Models/Effects/panel-flood-glare</inherits-from>
|
||||
<object-name>main_panel_signboard</object-name>
|
||||
</effect>
|
||||
|
||||
<effect>
|
||||
<inherits-from>Aircraft/IDG-A32X/Models/Effects/panel-flood-glare-right</inherits-from>
|
||||
<object-name>gear_labels</object-name>
|
||||
</effect>
|
||||
|
||||
<!--<effect>
|
||||
<inherits-from>Aircraft/IDG-A32X/Models/Effects/reading-light</inherits-from>
|
||||
<object-name>WindowCpt</object-name>
|
||||
|
@ -6088,7 +6108,6 @@
|
|||
<object-name>lgear_down</object-name>
|
||||
<object-name>lgear_unlk</object-name>
|
||||
<object-name>main_panel_box</object-name>
|
||||
<object-name>main_panel_signboard</object-name>
|
||||
<object-name>ngear</object-name>
|
||||
<object-name>ngear_down</object-name>
|
||||
<object-name>ngear_unlk</object-name>
|
||||
|
|
Reference in a new issue