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).
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).