INNER CODE UNIT · Python
ASTCENC_BIN
untoldengine/UntoldEngine · scripts/texbake.py:22
and set ASTCENC_BIN=/full/path/to/astcenc
Usage (single file):
python scripts/texbake.py --input textures/wall_basecolor.png --slot base_color
Usage (single file, auto-detect slot from filename):
python scripts/texbake.py --input textures/wall_normal.png
Usage (batch directory, auto-detect slots):
python scripts/texbake.py --dir build/textures/
Options:
--input PATH Source image file (PNG, JPEG, TGA)
--output PATH Output .utex path (default: same location as input, .utex extension)
--slot SLOT Texture slot. One of:
base_color, emissive, normal, roughness, metallic,
occlusion, orm, opacity, data, lut
--quality LEVEL astcenc quality level: fastest, fast, medium, thorough, exhaustive