Height2Normal: Difference between revisions
Jump to navigation
Jump to search
Bug:Nonfunctional in
. [todo tested in ?]
m (there was "clear" in every code field instead of the intended contents.) |
SirYodaJedi (talk | contribs) No edit summary |
||
| Line 20: | Line 20: | ||
The output created by running {{code|height2normal}} will be a [[TGA|targa (.tga)]] image. | The output created by running {{code|height2normal}} will be a [[TGA|targa (.tga)]] image. | ||
{{bug|Nonfunctional in {{tf2branch}}.}} | |||
==See also== | ==See also== | ||
Revision as of 13:22, 10 April 2025
Height2Normal is a command-line tool situated in <gameexedir>\bin\height2normal.exe, used to convert a heightmap texture into a normal map texture.
Proper execution of this program entails:
- Creating a targa (.tga) image with
_heightappended before the extension. - Creating a text (.txt) file with
_normalappended before the extension, containing the following:
"bumpscale" "1.0"
Keep in mind:
- You could change the
bumpscaleif you didn't like the output you were getting. - The targa (.tga) image and text (.txt) file should have the same name without their appended text and extension.
Height2normal should be executed with the text file name.
ex: height2normal "C:\a\b\c\tgafile_normal.txt"
The output created by running height2normal will be a targa (.tga) image.
See also
| |||||||||||||||||||||||||||||