Skip to content

Converting a Simple Skin (SKN) to glTF with textures

Crauzer edited this page Sep 6, 2020 · 3 revisions

This expands upon Converting a Simple Skin (SKN) to glTF.

To bundle textures into the glTF file you can use both the skn2gltf and skn2gltf-rigged commands.

You will have to use the material-textures argument and assign a material name to a texture with a delimiting :

How to dump info about SKN and get material names

Example usage:

lol2gltf skn2gltf --skn "aatrox.skn" -o "aatrox.glb" --material-textures "Body:aatrox_base_tx_cm.dds" "Wings:aatrox_wings_tx_cm.dds" "Sword:aatrox_base_sword_tx_cm.dds"

This will assign the textures to the material as such:

Body - aatrox_base_tx_cm.dds

Wings - aatrox_wings_tx_cm.dds

Sword - aatrox_base_sword_tx_cm.dds