theFroh / imagepacker

Takes a Wavefront OBJ with textures and attempts to squash them into a single texture file.
MIT License
49 stars 9 forks source link

How to issue the other maps/textures as will (Normal, Specular, Gloss)!? #13

Open 4Brad-23 opened 1 year ago

theFroh commented 1 year ago

The script's hardcoded to grab out map_Kd -- diffuse maps -- from OBJ MTLs only due to that being the only one Tabletop Simulator supported at the time. There's no real reason we can't extract the other types and emit them separately.

I'll note though, that this will result in one packed texture file per type (diffuse, normal, specular, gloss).