Displays: fix effect (remove weird shadows that sometimes happen)
This commit is contained in:
parent
9d9ce2760c
commit
5782f237d8
10 changed files with 41 additions and 40 deletions
|
@ -19,6 +19,7 @@
|
|||
<fallback-model-index>212</fallback-model-index>
|
||||
|
||||
<autopush include="AircraftConfig/autopush-config.xml"/>
|
||||
<display-contrast type="double">0.7</display-contrast>
|
||||
<icing>
|
||||
<iceable>
|
||||
<name>Wing</name>
|
||||
|
|
32
Models/Effects/display.eff
Normal file
32
Models/Effects/display.eff
Normal file
|
@ -0,0 +1,32 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
|
||||
<PropertyList>
|
||||
<name>display</name>
|
||||
<inherits-from>Effects/model-interior-display</inherits-from>
|
||||
|
||||
<parameters>
|
||||
<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>
|
||||
<texture n="5">
|
||||
<type>2d</type>
|
||||
<filter>linear-mipmap-linear</filter>
|
||||
<wrap-s>clamp</wrap-s>
|
||||
<wrap-t>clamp</wrap-t>
|
||||
<internal-format>normalized</internal-format>
|
||||
<image>Aircraft/Generic/Effects/dust-effect-overlay.png</image>
|
||||
</texture>
|
||||
<sample-res>0.0007</sample-res>
|
||||
<dirt-factor><use>/maintainance/cockpit-cleaness-factor</use></dirt-factor>
|
||||
<contrast><use>/sim/model/display-contrast</use></contrast>
|
||||
</parameters>
|
||||
|
||||
</PropertyList>
|
|
@ -31,12 +31,8 @@
|
|||
</animation>
|
||||
|
||||
<effect>
|
||||
<inherits-from>Effects/model-interior-display</inherits-from>
|
||||
<inherits-from>Aircraft/A320-family/Models/Effects/display</inherits-from>
|
||||
<object-name>lecam.screen</object-name>
|
||||
<parameters>
|
||||
<contrast>0.7</contrast>
|
||||
<dirt-factor><use>/maintainance/cockpit-cleaness-factor</use></dirt-factor>
|
||||
</parameters>
|
||||
</effect>
|
||||
|
||||
</PropertyList>
|
||||
|
|
|
@ -49,12 +49,8 @@
|
|||
</animation>
|
||||
|
||||
<effect>
|
||||
<inherits-from>Effects/model-interior-display</inherits-from>
|
||||
<inherits-from>Aircraft/A320-family/Models/Effects/display</inherits-from>
|
||||
<object-name>mcdu1.screen</object-name>
|
||||
<parameters>
|
||||
<contrast>0.7</contrast>
|
||||
<dirt-factor><use>/maintainance/cockpit-cleaness-factor</use></dirt-factor>
|
||||
</parameters>
|
||||
</effect>
|
||||
|
||||
<animation>
|
||||
|
|
|
@ -49,12 +49,8 @@
|
|||
</animation>
|
||||
|
||||
<effect>
|
||||
<inherits-from>Effects/model-interior-display</inherits-from>
|
||||
<inherits-from>Aircraft/A320-family/Models/Effects/display</inherits-from>
|
||||
<object-name>mcdu2.screen</object-name>
|
||||
<parameters>
|
||||
<contrast>0.7</contrast>
|
||||
<dirt-factor><use>/maintainance/cockpit-cleaness-factor</use></dirt-factor>
|
||||
</parameters>
|
||||
</effect>
|
||||
|
||||
<animation>
|
||||
|
|
|
@ -31,12 +31,8 @@
|
|||
</animation>
|
||||
|
||||
<effect>
|
||||
<inherits-from>Effects/model-interior-display</inherits-from>
|
||||
<inherits-from>Aircraft/A320-family/Models/Effects/display</inherits-from>
|
||||
<object-name>ND.screen</object-name>
|
||||
<parameters>
|
||||
<contrast>0.7</contrast>
|
||||
<dirt-factor><use>/maintainance/cockpit-cleaness-factor</use></dirt-factor>
|
||||
</parameters>
|
||||
</effect>
|
||||
|
||||
</PropertyList>
|
||||
|
|
|
@ -31,12 +31,8 @@
|
|||
</animation>
|
||||
|
||||
<effect>
|
||||
<inherits-from>Effects/model-interior-display</inherits-from>
|
||||
<inherits-from>Aircraft/A320-family/Models/Effects/display</inherits-from>
|
||||
<object-name>ND_R.screen</object-name>
|
||||
<parameters>
|
||||
<contrast>0.7</contrast>
|
||||
<dirt-factor><use>/maintainance/cockpit-cleaness-factor</use></dirt-factor>
|
||||
</parameters>
|
||||
</effect>
|
||||
|
||||
</PropertyList>
|
||||
|
|
|
@ -31,12 +31,8 @@
|
|||
</animation>
|
||||
|
||||
<effect>
|
||||
<inherits-from>Effects/model-interior-display</inherits-from>
|
||||
<inherits-from>Aircraft/A320-family/Models/Effects/display</inherits-from>
|
||||
<object-name>pfd1.screen</object-name>
|
||||
<parameters>
|
||||
<contrast>0.7</contrast>
|
||||
<dirt-factor><use>/maintainance/cockpit-cleaness-factor</use></dirt-factor>
|
||||
</parameters>
|
||||
</effect>
|
||||
|
||||
</PropertyList>
|
||||
|
|
|
@ -31,12 +31,8 @@
|
|||
</animation>
|
||||
|
||||
<effect>
|
||||
<inherits-from>Effects/model-interior-display</inherits-from>
|
||||
<inherits-from>Aircraft/A320-family/Models/Effects/display</inherits-from>
|
||||
<object-name>pfd2.screen</object-name>
|
||||
<parameters>
|
||||
<contrast>0.7</contrast>
|
||||
<dirt-factor><use>/maintainance/cockpit-cleaness-factor</use></dirt-factor>
|
||||
</parameters>
|
||||
</effect>
|
||||
|
||||
</PropertyList>
|
||||
|
|
|
@ -31,12 +31,8 @@
|
|||
</animation>
|
||||
|
||||
<effect>
|
||||
<inherits-from>Effects/model-interior-display</inherits-from>
|
||||
<inherits-from>Aircraft/A320-family/Models/Effects/display</inherits-from>
|
||||
<object-name>uecam.screen</object-name>
|
||||
<parameters>
|
||||
<contrast>0.7</contrast>
|
||||
<dirt-factor><use>/maintainance/cockpit-cleaness-factor</use></dirt-factor>
|
||||
</parameters>
|
||||
</effect>
|
||||
|
||||
</PropertyList>
|
||||
|
|
Loading…
Add table
Reference in a new issue