1
0
Fork 0

Displays: fix effect (remove weird shadows that sometimes happen)

This commit is contained in:
legoboyvdlp R 2020-05-10 11:40:46 +01:00
parent 9d9ce2760c
commit 5782f237d8
10 changed files with 41 additions and 40 deletions

View file

@ -19,6 +19,7 @@
<fallback-model-index>212</fallback-model-index> <fallback-model-index>212</fallback-model-index>
<autopush include="AircraftConfig/autopush-config.xml"/> <autopush include="AircraftConfig/autopush-config.xml"/>
<display-contrast type="double">0.7</display-contrast>
<icing> <icing>
<iceable> <iceable>
<name>Wing</name> <name>Wing</name>

View 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>

View file

@ -31,12 +31,8 @@
</animation> </animation>
<effect> <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> <object-name>lecam.screen</object-name>
<parameters>
<contrast>0.7</contrast>
<dirt-factor><use>/maintainance/cockpit-cleaness-factor</use></dirt-factor>
</parameters>
</effect> </effect>
</PropertyList> </PropertyList>

View file

@ -49,12 +49,8 @@
</animation> </animation>
<effect> <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> <object-name>mcdu1.screen</object-name>
<parameters>
<contrast>0.7</contrast>
<dirt-factor><use>/maintainance/cockpit-cleaness-factor</use></dirt-factor>
</parameters>
</effect> </effect>
<animation> <animation>

View file

@ -49,12 +49,8 @@
</animation> </animation>
<effect> <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> <object-name>mcdu2.screen</object-name>
<parameters>
<contrast>0.7</contrast>
<dirt-factor><use>/maintainance/cockpit-cleaness-factor</use></dirt-factor>
</parameters>
</effect> </effect>
<animation> <animation>

View file

@ -31,12 +31,8 @@
</animation> </animation>
<effect> <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> <object-name>ND.screen</object-name>
<parameters>
<contrast>0.7</contrast>
<dirt-factor><use>/maintainance/cockpit-cleaness-factor</use></dirt-factor>
</parameters>
</effect> </effect>
</PropertyList> </PropertyList>

View file

@ -31,12 +31,8 @@
</animation> </animation>
<effect> <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> <object-name>ND_R.screen</object-name>
<parameters>
<contrast>0.7</contrast>
<dirt-factor><use>/maintainance/cockpit-cleaness-factor</use></dirt-factor>
</parameters>
</effect> </effect>
</PropertyList> </PropertyList>

View file

@ -31,12 +31,8 @@
</animation> </animation>
<effect> <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> <object-name>pfd1.screen</object-name>
<parameters>
<contrast>0.7</contrast>
<dirt-factor><use>/maintainance/cockpit-cleaness-factor</use></dirt-factor>
</parameters>
</effect> </effect>
</PropertyList> </PropertyList>

View file

@ -31,12 +31,8 @@
</animation> </animation>
<effect> <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> <object-name>pfd2.screen</object-name>
<parameters>
<contrast>0.7</contrast>
<dirt-factor><use>/maintainance/cockpit-cleaness-factor</use></dirt-factor>
</parameters>
</effect> </effect>
</PropertyList> </PropertyList>

View file

@ -31,12 +31,8 @@
</animation> </animation>
<effect> <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> <object-name>uecam.screen</object-name>
<parameters>
<contrast>0.7</contrast>
<dirt-factor><use>/maintainance/cockpit-cleaness-factor</use></dirt-factor>
</parameters>
</effect> </effect>
</PropertyList> </PropertyList>