Height2Normal: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
No edit summary
 
m (Fixed tutorial)
Line 12: Line 12:




'''Height2normal''' should be executed with the [[TGA]] file name.
'''Height2normal''' should be executed with the TXT file name.


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





Revision as of 11:22, 12 July 2005

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