https://github.com/arocull/ironpress
Texture optimization tool for games and animation
https://github.com/arocull/ironpress
Last synced: 10 months ago
JSON representation
Texture optimization tool for games and animation
- Host: GitHub
- URL: https://github.com/arocull/ironpress
- Owner: arocull
- License: mit
- Created: 2023-09-30T03:59:59.000Z (over 2 years ago)
- Default Branch: master
- Last Pushed: 2024-12-06T23:58:00.000Z (over 1 year ago)
- Last Synced: 2025-03-26T22:45:55.484Z (about 1 year ago)
- Language: Rust
- Homepage:
- Size: 3.21 MB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 2
-
Metadata Files:
- Readme: readme.md
- License: LICENSE
Awesome Lists containing this project
README
# IronPress
Texture optimization tool for games and animation.
## Usage
1. 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)
2. `$ ironpress --help`
## Configuration
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](test/clover/texture_pipeline.json) for an example.
Order of operations:
1. Images are taken from an input folder relative to the pipeline file.
2. Textures are scaled (if ncessary)
3. Enforced into color channel formats
3. Exported using maximum PNG compression into the specified output folder
### Notes
Certain texture maps have special features.
- `arm` - Use this to specify that you want ambient occlusion (`ao`), `roughness`, and `metallic` maps combined into RGB (since they're all single-channel).