Normal effect on wings / body
This commit is contained in:
parent
dfbe2a70fa
commit
eb1216b63d
2 changed files with 119 additions and 4 deletions
|
@ -11,6 +11,12 @@
|
||||||
<ambient-correction type="float"><use>/sim/model/reflection/ambient-correction-wing</use></ambient-correction>
|
<ambient-correction type="float"><use>/sim/model/reflection/ambient-correction-wing</use></ambient-correction>
|
||||||
<lightmap-enabled type="int">0</lightmap-enabled>
|
<lightmap-enabled type="int">0</lightmap-enabled>
|
||||||
<lightmap-multi type="int">0</lightmap-multi>
|
<lightmap-multi type="int">0</lightmap-multi>
|
||||||
|
<normalmap-enabled type="int">1</normalmap-enabled>
|
||||||
|
<texture n="2">
|
||||||
|
<image>Aircraft/A320-family/Models/Effects/res/Fuse-Main-Normal.png</image>
|
||||||
|
<wrap-s>clamp</wrap-s>
|
||||||
|
<wrap-t>clamp</wrap-t>
|
||||||
|
</texture>
|
||||||
<texture n="5">
|
<texture n="5">
|
||||||
<type>cubemap</type>
|
<type>cubemap</type>
|
||||||
<images>
|
<images>
|
||||||
|
@ -21,5 +27,59 @@
|
||||||
<positive-z>Aircraft/Generic/Effects/CubeMaps/fgfs-sky/6.png</positive-z>
|
<positive-z>Aircraft/Generic/Effects/CubeMaps/fgfs-sky/6.png</positive-z>
|
||||||
<negative-z>Aircraft/Generic/Effects/CubeMaps/fgfs-sky/5.png</negative-z>
|
<negative-z>Aircraft/Generic/Effects/CubeMaps/fgfs-sky/5.png</negative-z>
|
||||||
</images>
|
</images>
|
||||||
</texture></parameters>
|
</texture>
|
||||||
|
</parameters>
|
||||||
|
|
||||||
|
<!-- ####################
|
||||||
|
### NORMALMAP INCLUDE ###
|
||||||
|
######################### -->
|
||||||
|
<generate>
|
||||||
|
<tangent type="int">6</tangent>
|
||||||
|
<binormal type="int">7</binormal>
|
||||||
|
</generate>
|
||||||
|
<technique n="4">
|
||||||
|
<pass>
|
||||||
|
<program>
|
||||||
|
<attribute>
|
||||||
|
<name>tangent</name>
|
||||||
|
<index>6</index>
|
||||||
|
</attribute>
|
||||||
|
<attribute>
|
||||||
|
<name>binormal</name>
|
||||||
|
<index>7</index>
|
||||||
|
</attribute>
|
||||||
|
</program>
|
||||||
|
</pass>
|
||||||
|
</technique>
|
||||||
|
<technique n="7">
|
||||||
|
<pass>
|
||||||
|
<program>
|
||||||
|
<attribute>
|
||||||
|
<name>tangent</name>
|
||||||
|
<index>6</index>
|
||||||
|
</attribute>
|
||||||
|
<attribute>
|
||||||
|
<name>binormal</name>
|
||||||
|
<index>7</index>
|
||||||
|
</attribute>
|
||||||
|
</program>
|
||||||
|
</pass>
|
||||||
|
</technique>
|
||||||
|
<technique n="9">
|
||||||
|
<pass>
|
||||||
|
<program>
|
||||||
|
<attribute>
|
||||||
|
<name>tangent</name>
|
||||||
|
<index>6</index>
|
||||||
|
</attribute>
|
||||||
|
<attribute>
|
||||||
|
<name>binormal</name>
|
||||||
|
<index>7</index>
|
||||||
|
</attribute>
|
||||||
|
</program>
|
||||||
|
</pass>
|
||||||
|
</technique>
|
||||||
|
<!-- ########################
|
||||||
|
### END NORMALMAP INCLUDE ###
|
||||||
|
############################# -->
|
||||||
</PropertyList>
|
</PropertyList>
|
||||||
|
|
|
@ -11,10 +11,11 @@
|
||||||
<ambient-correction type="float"><use>/sim/model/reflection/ambient-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-enabled type="int">0</lightmap-enabled>
|
||||||
<lightmap-multi type="int">0</lightmap-multi>
|
<lightmap-multi type="int">0</lightmap-multi>
|
||||||
|
<normalmap-enabled type="int">1</normalmap-enabled>
|
||||||
<texture n="2">
|
<texture n="2">
|
||||||
<image>Aircraft/A320-family/Models/Effects/res/Fuse-Main-Normal.png</image>
|
<image>Aircraft/A320-family/Models/Effects/res/Fuse-Main-Normal.png</image>
|
||||||
<wrap-s>clamp</wrap-s>
|
<wrap-s>clamp</wrap-s>
|
||||||
<wrap-t>clamp</wrap-t>
|
<wrap-t>clamp</wrap-t>
|
||||||
</texture>
|
</texture>
|
||||||
<texture n="5">
|
<texture n="5">
|
||||||
<type>cubemap</type>
|
<type>cubemap</type>
|
||||||
|
@ -26,5 +27,59 @@
|
||||||
<positive-z>Aircraft/Generic/Effects/CubeMaps/fgfs-sky/6.png</positive-z>
|
<positive-z>Aircraft/Generic/Effects/CubeMaps/fgfs-sky/6.png</positive-z>
|
||||||
<negative-z>Aircraft/Generic/Effects/CubeMaps/fgfs-sky/5.png</negative-z>
|
<negative-z>Aircraft/Generic/Effects/CubeMaps/fgfs-sky/5.png</negative-z>
|
||||||
</images>
|
</images>
|
||||||
</texture></parameters>
|
</texture>
|
||||||
|
</parameters>
|
||||||
|
|
||||||
|
<!-- ####################
|
||||||
|
### NORMALMAP INCLUDE ###
|
||||||
|
######################### -->
|
||||||
|
<generate>
|
||||||
|
<tangent type="int">6</tangent>
|
||||||
|
<binormal type="int">7</binormal>
|
||||||
|
</generate>
|
||||||
|
<technique n="4">
|
||||||
|
<pass>
|
||||||
|
<program>
|
||||||
|
<attribute>
|
||||||
|
<name>tangent</name>
|
||||||
|
<index>6</index>
|
||||||
|
</attribute>
|
||||||
|
<attribute>
|
||||||
|
<name>binormal</name>
|
||||||
|
<index>7</index>
|
||||||
|
</attribute>
|
||||||
|
</program>
|
||||||
|
</pass>
|
||||||
|
</technique>
|
||||||
|
<technique n="7">
|
||||||
|
<pass>
|
||||||
|
<program>
|
||||||
|
<attribute>
|
||||||
|
<name>tangent</name>
|
||||||
|
<index>6</index>
|
||||||
|
</attribute>
|
||||||
|
<attribute>
|
||||||
|
<name>binormal</name>
|
||||||
|
<index>7</index>
|
||||||
|
</attribute>
|
||||||
|
</program>
|
||||||
|
</pass>
|
||||||
|
</technique>
|
||||||
|
<technique n="9">
|
||||||
|
<pass>
|
||||||
|
<program>
|
||||||
|
<attribute>
|
||||||
|
<name>tangent</name>
|
||||||
|
<index>6</index>
|
||||||
|
</attribute>
|
||||||
|
<attribute>
|
||||||
|
<name>binormal</name>
|
||||||
|
<index>7</index>
|
||||||
|
</attribute>
|
||||||
|
</program>
|
||||||
|
</pass>
|
||||||
|
</technique>
|
||||||
|
<!-- ########################
|
||||||
|
### END NORMALMAP INCLUDE ###
|
||||||
|
############################# -->
|
||||||
</PropertyList>
|
</PropertyList>
|
||||||
|
|
Loading…
Reference in a new issue