Reflection effect dynamic parameters
This commit is contained in:
parent
7f51381b18
commit
99cff37175
4 changed files with 36 additions and 48 deletions
|
@ -67,17 +67,13 @@
|
|||
<output-property>/systems/pitot/icing</output-property>
|
||||
</iceable>
|
||||
</icing>
|
||||
<flame>
|
||||
<red-high type="double">1.0</red-high>
|
||||
<red-low type="double">0.95</red-low>
|
||||
<red-base type="double">1.0</red-base>
|
||||
<green-high type="double">0.741</green-high>
|
||||
<green-low type="double">0.32</green-low>
|
||||
<green-base type="double">0.741</green-base>
|
||||
<blue-high type="double">0.10</blue-high>
|
||||
<blue-low type="double">0.02</blue-low>
|
||||
<blue-base type="double">0.09</blue-base>
|
||||
</flame>
|
||||
<reflection>
|
||||
<ambient-correction type="double">0.5</ambient-correction>
|
||||
<reflection-correction type="double">-0.05</reflection-correction>
|
||||
<reflection-fresnel type="double">0.0</reflection-fresnel>
|
||||
<reflection-fresnel-factor type="double">0.5</reflection-fresnel-factor>
|
||||
<reflection-rainbow type="double">0.0</reflection-rainbow>
|
||||
</reflection>
|
||||
</model>
|
||||
|
||||
<previews>
|
||||
|
|
|
@ -61,5 +61,28 @@
|
|||
<effect>
|
||||
<inherits-from>Aircraft/A320-family/Models/Effects/reflection</inherits-from>
|
||||
<object-name>Fuselage</object-name>
|
||||
<object-name>DoorL1</object-name>
|
||||
<object-name>DoorL4</object-name>
|
||||
<object-name>DoorR1</object-name>
|
||||
<object-name>DoorR4</object-name>
|
||||
<object-name>Cargo1</object-name>
|
||||
<object-name>Cargo2</object-name>
|
||||
<object-name>Cargo3</object-name>
|
||||
</effect>
|
||||
|
||||
<!-- Ancilliary Objects -->
|
||||
|
||||
<!-- APU fire -->
|
||||
<model>
|
||||
<name>APU fire</name>
|
||||
<path>Aircraft/A320-family/Models/Effects/enginefire.xml</path>
|
||||
<offsets>
|
||||
<x-m>38.9</x-m>
|
||||
<y-m>0</y-m>
|
||||
<z-m>0.95</z-m>
|
||||
</offsets>
|
||||
<condition>
|
||||
<property>systems/failures/apu-fire</property>
|
||||
</condition>
|
||||
</model>
|
||||
</PropertyList>
|
||||
|
|
|
@ -5,10 +5,10 @@
|
|||
<parameters>
|
||||
<reflection-enabled type="int">1</reflection-enabled>
|
||||
<reflection-dynamic type="int">1</reflection-dynamic>
|
||||
<reflect_map-enabled type="int">1</reflect_map-enabled>
|
||||
<reflection-correction type="float">-0.05</reflection-correction>
|
||||
<reflect_map-enabled type="int">0</reflect_map-enabled>
|
||||
<reflection-correction type="float"><use>/sim/model/reflection/reflection-correction</use></reflection-correction>
|
||||
<reflection-type type="int">2</reflection-type>
|
||||
<ambient-correction type="float">0.1</ambient-correction>
|
||||
<ambient-correction type="float"><use>/sim/model/reflection/reflection-correction</use></ambient-correction>
|
||||
<lightmap-enabled type="int">0</lightmap-enabled>
|
||||
<lightmap-multi type="int">0</lightmap-multi>
|
||||
<texture n="5">
|
||||
|
@ -22,9 +22,8 @@
|
|||
<negative-z>Aircraft/Generic/Effects/CubeMaps/fgfs-sky/5.png</negative-z>
|
||||
</images>
|
||||
</texture>
|
||||
<reflection-rainbow type="float">0.0</reflection-rainbow>
|
||||
<reflection-fresnel type="float">0.0</reflection-fresnel>
|
||||
<reflection-fresnel-factor type="float">0.5</reflection-fresnel-factor>
|
||||
<ambient_correction>0.5</ambient_correction>
|
||||
<reflection-rainbow type="float"><use>/sim/model/reflection/reflection-rainbow</use></reflection-rainbow>
|
||||
<reflection-fresnel type="float"><use>/sim/model/reflection/reflection-fresnel</use></reflection-fresnel>
|
||||
<reflection-fresnel-factor type="float"><use>/sim/model/reflection/reflection-fresnel-factor</use></reflection-fresnel-factor>
|
||||
</parameters>
|
||||
</PropertyList>
|
||||
|
|
|
@ -6,36 +6,6 @@
|
|||
<name>Fuselage</name>
|
||||
<path>res/fuselage.ac</path>
|
||||
|
||||
<!-- Reflection Shader -->
|
||||
<!--effect>
|
||||
<inherits-from>Aircraft/A320-family/Models/Effects/NEOreflect</inherits-from>
|
||||
<object-name>Fuselage</object-name>
|
||||
</effect-->
|
||||
|
||||
<effect>
|
||||
<inherits-from>Effects/glass</inherits-from>
|
||||
<object-name>Windsheild</object-name>
|
||||
<object-name>Windows</object-name>
|
||||
<object-name>glass</object-name>
|
||||
<object-name>glass1</object-name>
|
||||
<object-name>glass2</object-name>
|
||||
<object-name>glass3</object-name>
|
||||
</effect>
|
||||
|
||||
<!-- APU fire -->
|
||||
<model>
|
||||
<name>APU fire</name>
|
||||
<path>Aircraft/A320-family/Models/Effects/enginefire.xml</path>
|
||||
<offsets>
|
||||
<x-m>38.9</x-m>
|
||||
<y-m>0</y-m>
|
||||
<z-m>0.95</z-m>
|
||||
</offsets>
|
||||
<condition>
|
||||
<property>systems/failures/apu-fire</property>
|
||||
</condition>
|
||||
</model>
|
||||
|
||||
<!-- ANIMATIONS -->
|
||||
<!-- PAX doors -->
|
||||
<animation>
|
||||
|
|
Loading…
Add table
Reference in a new issue