Height2Normal

From Valve Developer Community
Revision as of 05:17, 22 January 2023 by REDESAILE (talk | contribs)
Jump to navigation Jump to search

Height2Normal Height2Normal is a command-line tool situated in clear, used to convert a heightmap texture into a normal map texture.


Proper execution of this program entails:

  • Creating a targa (.tga) image with clear appended before the extension.
  • Creating a text (.txt) file with clear appended before the extension, containing the following:
 "bumpscale" "1.0"

Keep in mind:

  • You could change the clear 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: clear


The output created by running clear will be a targa (.tga) image.

See also