Update glTF2Asset.inl
parent
3a09fd0c85
commit
b7a8c4ba75
|
@ -1250,7 +1250,7 @@ inline void Material::Read(Value &material, Asset &r) {
|
|||
ReadMember(material, "alphaCutoff", this->alphaCutoff);
|
||||
|
||||
if (Value *extensions = FindObject(material, "extensions")) {
|
||||
if (r.extensionsUsed.KHR_materials_pbrSpecularGlossiness) {
|
||||
if (r.extensionsUsed.KHR_materials_pbrSpecularGlossiness) {
|
||||
if (Value *curPbrSpecularGlossiness = FindObject(*extensions, "KHR_materials_pbrSpecularGlossiness")) {
|
||||
PbrSpecularGlossiness pbrSG;
|
||||
|
||||
|
|
Loading…
Reference in New Issue