1
0
Fork 0

Reflection effect applied to intakes and exhaust

This commit is contained in:
legoboyvdlp R 2020-06-02 15:10:08 +01:00
parent 3b2e1cfc6b
commit 68e73e8b46
4 changed files with 45 additions and 11 deletions

View file

@ -68,11 +68,10 @@
</iceable>
</icing>
<reflection>
<ambient-correction type="double">0.5</ambient-correction>
<reflection-correction type="double">0.333</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>
<ambient-correction type="double">0.10</ambient-correction>
<reflection-correction type="double">0.10</reflection-correction>
<ambient-correction-chrome type="double">0.05</ambient-correction-chrome>
<reflection-correction-chrome type="double">0.20</reflection-correction-chrome>
</reflection>
</model>

View file

@ -0,0 +1,25 @@
<?xml version="1.0"?>
<PropertyList>
<name>reflection-correction</name>
<inherits-from>Effects/model-combined-deferred</inherits-from>
<parameters>
<reflection-enabled type="int">1</reflection-enabled>
<reflection-dynamic type="int">1</reflection-dynamic>
<reflect_map-enabled type="int">0</reflect_map-enabled>
<reflection-correction type="float"><use>/sim/model/reflection/reflection-correction-chrome</use></reflection-correction>
<reflection-type type="int">2</reflection-type>
<ambient-correction type="float"><use>/sim/model/reflection/ambient-correction-chrome</use></ambient-correction>
<lightmap-enabled type="int">0</lightmap-enabled>
<lightmap-multi type="int">0</lightmap-multi>
<texture n="5">
<type>cubemap</type>
<images>
<positive-x>Aircraft/Generic/Effects/CubeMaps/fgfs-sky/1.png</positive-x>
<negative-x>Aircraft/Generic/Effects/CubeMaps/fgfs-sky/4.png</negative-x>
<positive-y>Aircraft/Generic/Effects/CubeMaps/fgfs-sky/2.png</positive-y>
<negative-y>Aircraft/Generic/Effects/CubeMaps/fgfs-sky/3.png</negative-y>
<positive-z>Aircraft/Generic/Effects/CubeMaps/fgfs-sky/6.png</positive-z>
<negative-z>Aircraft/Generic/Effects/CubeMaps/fgfs-sky/5.png</negative-z>
</images>
</texture></parameters>
</PropertyList>

View file

@ -8,7 +8,7 @@
<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"><use>/sim/model/reflection/reflection-correction</use></ambient-correction>
<ambient-correction type="float"><use>/sim/model/reflection/ambient-correction</use></ambient-correction>
<lightmap-enabled type="int">0</lightmap-enabled>
<lightmap-multi type="int">0</lightmap-multi>
<texture n="5">
@ -21,9 +21,5 @@
<positive-z>Aircraft/Generic/Effects/CubeMaps/fgfs-sky/6.png</positive-z>
<negative-z>Aircraft/Generic/Effects/CubeMaps/fgfs-sky/5.png</negative-z>
</images>
</texture>
<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>
</texture></parameters>
</PropertyList>

View file

@ -332,4 +332,18 @@
<object-name>ReverserRDoor1</object-name>
<object-name>ReverserRDoor2</object-name>
</effect>
<effect>
<inherits-from>Aircraft/A320-family/Models/Effects/reflection-chrome</inherits-from>
<object-name>ExxhaustCFM56</object-name>
<object-name>IntakeCFM56</object-name>
</effect>
<!--<animation>
<type>shader</type>
<shader>chrome</shader>
<texture>Aircraft/A320-family/Models/Engines/Models/chrome.png</texture>
<object-name>ExxhaustCFM56</object-name>
<object-name>IntakeCFM56</object-name>
</animation>-->
</PropertyList>