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

Jump to navigation Jump to search
typo
m (CVS link -> Git link)
(typo)
Line 72: Line 72:
==Creating the Normal Map Effect==
==Creating the Normal Map Effect==


No we have our normal map, we need to apply it to the aircraft. To do this, we need to create a new effect, based on the existing Effect/bumpspec.eff, and then apply it to the correct object in the model.
Now we have our normal map, we need to apply it to the aircraft. To do this, we need to create a new effect, based on the existing Effect/bumpspec.eff, and then apply it to the correct object in the model.


# Open Effect/bumpspec.eff. You'll find some instructions at the top of the file.
# Open Effect/bumpspec.eff. You'll find some instructions at the top of the file.
# Copy the first set of XML (between the <PropertyList> and </PropertyList> tags into a new .eff file in your aircraft directory.
# Copy the first set of XML (between the <PropertyList> and </PropertyList> tags into a new .eff file in your aircraft directory.
# Edit the new file so that it has an appropriate <name> entry and an <image> entry that matches the normal map you created above. For example, in this case we've createed the effect Aircraft/c172p/Models/Effects/bumpspec, and are using the normal map Aircraft/c172p/Models/Liveries/wing-normal.png.
# Edit the new file so that it has an appropriate <name> entry and an <image> entry that matches the normal map you created above. For example, in this case we've created the effect Aircraft/c172p/Models/Effects/bumpspec, and are using the normal map Aircraft/c172p/Models/Liveries/wing-normal.png.


<code>
<code>
45

edits

Navigation menu