TGAtoDUDV: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
(A Simple tool to convert Materials into DUDV materials)
 
Line 33: Line 33:
==Credits==
==Credits==


* File published and coded by jenkins_08.
* File published and coded by [http://developer.valvesoftware.com/wiki/User:Jenkins08 Jenkins08].
* Using codes from [http://ati.amd.com ATI Technologies Inc.].
* Using codes from [http://ati.amd.com ATI Technologies Inc.].
* Compiled using VS2008.
* Compiled using [http://www.microsoft.com/express/ VS2008].


[[Category:Material System]]
[[Category:Material System]]

Revision as of 01:53, 22 November 2008

A Sample of a DUDV Map in materials/models/shadertest/shaderslab5_dudv.vtf

More Info on DUDV Materials

Du/dv_map

Summary

Because the Normal2dudv tool requires Steam running to use it, i went ahead and have written a new program that converts TGA Normal maps (Or any other TGA materials) into a DUDV Map, That doesn't require steam running

Usage

  • Place the Application in the same folder as your materials. (Optional)
  • Open the TGAtoDUDV.exe and it will ask you to choose a TGA file to convert.
  • Double click the file you want to convert (Sorry no batch support as of yet)
  • A message should appear saying "Sucess! Your new DUDV map was saved to ..."
  • The new DUDV texture will have the appended _dudv to the end of the filename.

For best results, Convert a pre-ready Normal Map with this program

See also

  • Normal2dudv - utility to convert normal maps to dudv maps (Requires steam running)
  • Height2Normal - utility to convert height maps to normal maps

Credits