CesiumGS / gltf-pipeline

Content pipeline tools for optimizing glTF assets. :globe_with_meridians:
Apache License 2.0
1.91k stars 250 forks source link

Upgrade KHR_materials_common to PBR #384

Open ggetz opened 6 years ago

ggetz commented 6 years ago

Convert KHR_materials_common glTF 1.0 extension properties to PBR in updateVersion.

CC #330

lilleyse commented 5 years ago

https://github.com/AnalyticalGraphicsInc/gltf-pipeline/issues/428 has an example model for testing.

The conversion in obj2gltf: convertTraditionalToMetallicRoughness and the PR discussion might serve as a reference for implementing this.