Texture optimization tool for games and animation.
- Install the tool using cargo:
$ cargo install --git https://github.com/arocull/IronPress.git
(or download the repository and run$ cargo install --path .
inside this directory) $ ironpress --help
IronPress operates on texture pipeline .json
files. These let you define materials, where to source textures, and where to output them.
See the Clover Pipeline test configuration for an example.
Order of operations:
- Images are taken from an input folder relative to the pipeline file.
- Textures are scaled (if ncessary)
- Enforced into color channel formats
- Exported using maximum PNG compression into the specified output folder
Certain texture maps have special features.
arm
- Use this to specify that you want ambient occlusion (ao
),roughness
, andmetallic
maps combined into RGB (since they're all single-channel).