draco
draco copied to clipboard
KHR_materials_pbrSpecularGlossiness is unsupported?
question
I have get the message "KHR_materials_pbrSpecularGlossiness is unsupported" when I decode the glb file.
code
// ---------- Import File -----------
const std::string glbPath = "E:/model/HappyFace.glb";
draco::GltfDecoder gltfDecoder;
auto glbMesh = gltfDecoder.DecodeFromFile(glbPath);
if (!glbMesh.ok()) {
std::cout << "Failed loading the input mesh: %s.\n" << glbMesh.status().error_msg() << std::endl;
return -1;
}
Draco currently supports KHR_materials_specular which aims to be replacement for the older KHR_materials_pbrSpecularGlossiness