Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Info

Note that many file formats may have limitations on their storage type and size independent of txmake. TIFF and EXR are the most common types.

  • TIFF files converted to .tx may have better performance than other formats but are limited to the maximum size of 4GB
  • OpenEXR files may be larger and potentially slower but these have the fewest restrictions when converted to .tx as -format openexr 

 


<r> The resize operation may be one of the following:

...

displaywindow only for exr input


Anchor
txmake-BumpToRoughness
txmake-BumpToRoughness
Bump To Roughness

Bump to roughness requires all bump or normal maps to be converted to a *.b2r texture.

b2r textures contain 5 channels and are always generated in OpenEXR format as it provides the best compression ratios for half-float data.

-bumprough <f> <i> <n> <iu> <iv> <i>

  • <f> : roughness scaling factor
    • Default: 2.0 (very rarely needs to be changed)
  • <i> : invert bump signal (0|1)
    • Default: 0
  • <n> : interpret as normal map (0|1)
    • Default: 0
  • <iu> : invert map in U (0|1)
    • Default: 0
  • <iv> : invert map in V (0|1)
    • Default: 0
  • <iv> : refit slope distribution for better results.
    • Default: 1. 
    • This step is time consuming but preserves details much better when seen from afar.

A typical txmake invocation for a bump map:

No Format
txmake -resize round- -mode periodic -filter box -mipfilter box -bumprough 2 0 0 0 0 1 bump.tif bump.b2r

For a normal map:

No Format
txmake -resize round- -mode periodic -filter box -mipfilter box -bumprough 2 0 1 0 0 1 normalmap.tif normalmap.b2r
Note

The filter and MIP filter need to be set to "box" to ensure the math works correctly.

Shadow Map (deprecated)

Shadow

...

-help

Print usage and exit.