Page 1 of 1

Convert textures from normal PBR to STK format easily

PostPosted: 09 Jul 2021, 16:15
by captainPicard99
So, I made a track in Blender, and then I baked all the textures into Diffuse, Roughness, Metallic, Normal, Emission, and Alpha maps (as I would do if importing to, say, Unity). What is an easy way to convert these types of maps: https://imgur.com/a/S7ktszf to STK's specific unique format? is there a script someone made that takes in Principled PBR maps and converts them to STK's texture format?

Re: Convert textures from normal PBR to STK format easily

PostPosted: 09 Jul 2021, 18:23
by benau
Diffuse is the original texture

Roughness is 1.0 - for the red channel in pbr data (gloss map)

Metallic is green channel in pbr data

Emissioin is blue channel in pbr data

For alpha better joins it to original textures

See https://supertuxkart.net/Materials

Unfortuately there is no script available at the moment, maybe some easy python script will do