Howto:Use the normal map effect in aircraft: Difference between revisions

Line 35: Line 35:


<code>
<code>
<!-- Bump and specular effect -->
  <PropertyList>
<PropertyList>
    <name>Aircraft/c172p/Models/Effects/bumpspec</name>
  <name>Aircraft/c172p/Models/Effects/bumpspec</name>
    <inherits-from>Effects/bumpspec</inherits-from>
  <inherits-from>Effects/bumpspec</inherits-from>
    <parameters>
  <parameters>
      <texture n="2">
    <texture n="2">
        <image>Aircraft/c172p/Models/Liveries/wing-normal.png</image>
      <image>Aircraft/c172p/Models/Liveries/wing-normal.png</image>
        <filter>linear-mipmap-linear</filter>
      <filter>linear-mipmap-linear</filter>
        <wrap-s>repeat</wrap-s>
      <wrap-s>repeat</wrap-s>
        <wrap-t>repeat</wrap-t>
      <wrap-t>repeat</wrap-t>
        <internal-format>normalized</internal-format>
      <internal-format>normalized</internal-format>
      </texture>
    </texture>
    </parameters>
  </parameters>
  </PropertyList>
</PropertyList>
</code>
</code>