Height2Normal: Difference between revisions
Jump to navigation
Jump to search
m (Directed link and some formatting.) |
m (Some more formatting.) |
||
Line 3: | Line 3: | ||
Proper execution of this program included: | Proper execution of this program included: | ||
* Creating a [[TGA|targa (.tga)]] image with ''_height'' appended before the extension. | * Creating a [[TGA|targa (.tga)]] image with ''_height'' appended before the extension. | ||
* Creating a [[ | * Creating a [[txt|text (.txt)]] file with ''_normal'' appended before the extension, containing the following: | ||
"bumpscale" "1.0" | "bumpscale" "1.0" | ||
Keep in mind: | Keep in mind: | ||
* You could change the bumpscale if you didn't like the output you were getting. | * You could change the bumpscale if you didn't like the output you were getting. | ||
* The | * 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 | '''Height2normal''' should be executed with the text file name. | ||
ex: height2normal "C:\a\b\c\tgafile_normal.txt" | ex: height2normal "C:\a\b\c\tgafile_normal.txt" |
Revision as of 17:26, 29 August 2007
A Source SDK tool program, situated in the SteamApps\username\souresdk\bin\
folder, previously used to convert a heightmap texture into a normal map texture. It stopped working at least since 11 August 2006, generating no output file, but old versions of this program may still exist.
Proper execution of this program included:
- Creating a targa (.tga) image with _height appended before the extension.
- Creating a text (.txt) file with _normal appended before the extension, containing the following:
"bumpscale" "1.0"
Keep in mind:
- You could change the bumpscale if 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.