draco icon indicating copy to clipboard operation
draco copied to clipboard

KHR_materials_pbrSpecularGlossiness is unsupported?

Open zhoujinhai opened this issue 3 years ago • 1 comments

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;
	}

zhoujinhai avatar Jun 28 '22 03:06 zhoujinhai

Draco currently supports KHR_materials_specular which aims to be replacement for the older KHR_materials_pbrSpecularGlossiness

ondys avatar Sep 16 '22 17:09 ondys