What kind of files are exported from GLTF?

Hi everyone,

I’m trying to store PBR Materials created in Babylon into my database. At the moment I create a single triangle and apply a material to it and then export using GLTF2Export.GLTFAsync. So far I’m getting these files:

material.gltf
material.bin
bjsBaseColorTexture_0.png.png
bjsMetallicRoughnessTexture_1.png.png

Is this what I can expect for any PBR Material? Or will there be more files?

Sorry for the noob question and thanks for the help!
-Brian

ping @bghgary

The PBR material in glTF can have the following textures:

  • baseColor
  • metallic/roughness
  • occlusion
  • normal
  • emissive

Occlusion maybe packed together with metallic/roughness.

See glTF/specification/2.0 at master · KhronosGroup/glTF · GitHub for more information.

Thanks for the info. I was thinking of creating a textures library but I think I’ll go with just storing materials as glb files.