Export glTF (Khronos Group)

glTF (version 2.0) is a recent JSON-based 3D geometry delivery format. It supports modern materials (PBR) as well as geometry instancing and is supported by many desktop- and web-apps. It is currently a recommended exchange format for new projects. For more details, refer to https://github.com/KhronosGroup/glTF.

Export settings

In addition to the general export options, glTF has the following options:

GLTF Output Format

If set to glTF binary, the file is stored as a .glb file which contains all geometry and texture data. If set to glTF JSON, the file is stored as a .gltf with geometry stored in .bin files and textures as .png files.

CGA mapping to glTF

glTF materialCGA material

baseColorTexture

material.colormap and material.opacitymap

baseColorFactor

material.color and material.opacity

alphaMode

material.opacitymap.mode

metallicRoughnessTexture

material.metallicmap and material.roughnessmap

metallicFactor

material.metallic

roughnessFactor

material.roughness

normalTexture

material.normalmap

occlusionTexture

material.occlusionmap

emissiveTexture

material.emissivemap

emissiveFactor

material.emissive

Note:
  • doubleSided, alphaCutoff, normalTexture.scale, and occlusionTexture.strength are not supported.
  • Other CGA material maps are ignored.