Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/suvrik/texture.compiler
A texture compiler
https://github.com/suvrik/texture.compiler
compiler converter gamedev texture tool
Last synced: 2 days ago
JSON representation
A texture compiler
- Host: GitHub
- URL: https://github.com/suvrik/texture.compiler
- Owner: suVrik
- Created: 2019-06-30T20:56:23.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2019-07-12T18:47:56.000Z (over 5 years ago)
- Last Synced: 2024-11-14T19:25:21.290Z (2 months ago)
- Topics: compiler, converter, gamedev, texture, tool
- Language: C
- Homepage:
- Size: 43.9 MB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# texture.compiler
Normal part of `RG normal, B metalness, A ambient occlusion` is mip mapped with normal renormalization, the rest of this texture is mip mapped like a regular texture.
| Input texture | Output (Production quality) | Output (Development quality) | Output (No-compression quality) |
| ------------- | ------------- | ------------- | ------------- |
| RGB base color, A roughness | BC7 | BC3 | RGBA8 |
| RG normal, B metalness, A ambient occlusion | BC7 | BC3 | RGBA8 |
| R height | BC4 | BC4 | R8 |
| HDR cube map | BC6H | BC6H | RGBA16 |
| Irradiance (automatically generated from cube map) | RGBA16 | RGBA16 | RGBA16 |
| Prefilter (automatically generated from cube map) | BC6H | BC6H | RGBA16 |```
usage:
texture_compiler.exe optionswhere options are:
--albedo-roughness Input contains albedo map and roughness map
--normal-metalness-ambient-occlusion Input contains normal, metalness and ambient occlusion maps
--parallax Input contains parallax map
--cube-map Input contains cube map
--input Input texture path
--output Output texture path
--output-size <1024> Output texture size (needed only for cube map, for other textures output texture size is equal to input texture size)
--irradiance Output irradiance texture path (needed only for cube map)
--irradiance-size <32> Output irradiance texture size (needed only for cube map)
--prefilter Output prefilter texture path (needed only for cube map)
--prefilter-size <128> Output prefilter texture size (needed only for cube map)
--production Good but slow texture compression
--development Poor but quick texture compression
--no-compression No texture compression
-?, -h, --help display usage information
```