Add panel flood light
This commit is contained in:
parent
2bef070f2c
commit
642ac02ad5
3 changed files with 27 additions and 0 deletions
22
Models/Effects/panel-flood.eff
Normal file
22
Models/Effects/panel-flood.eff
Normal file
|
@ -0,0 +1,22 @@
|
|||
<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>
|
||||
<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>/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/panel-floodlight.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/panel-floodlight.png
Normal file
BIN
Models/Effects/panel-floodlight.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 325 KiB |
|
@ -5681,6 +5681,11 @@
|
|||
</emission>
|
||||
</animation>
|
||||
|
||||
<effect>
|
||||
<inherits-from>Aircraft/IDG-A32X/Models/Effects/panel-flood</inherits-from>
|
||||
<object-name>main_panel</object-name>
|
||||
</effect>
|
||||
|
||||
<animation>
|
||||
<name>Panel lighting</name>
|
||||
<type>material</type>
|
||||
|
|
Reference in a new issue