Height2Normal

From Valve Developer Community
Revision as of 11:22, 12 July 2005 by Zevensoft (talk | contribs) (Fixed tutorial)
Jump to navigation Jump to search

A copy of this program can be found in the bin folder of the sourcesdk.

Proper execution of this program includes:

  • Creating a TGA with _height appended before the extension
  • Creating a TXT file with _normal appended before the extension containing the following:
"bumpscale" "1.0"


Keep in mind:

  • You can change the bumpscale if you do not like the output you are getting.
  • The TGA and TXT file should have the same name without their appended text and extension.


Height2normal should be executed with the TXT file name.

ex: height2normal "C:\a\b\c\tgafile_normal.txt"


The output created by running height2normal will be TGA.

See also