Write specularGlossiness textures on the specularGlossiness object
parent
feee7528d6
commit
f09892ab63
|
@ -346,8 +346,8 @@ namespace glTF2 {
|
||||||
WriteFloat(obj, m.pbrSpecularGlossiness.glossinessFactor, "glossinessFactor", w.mAl);
|
WriteFloat(obj, m.pbrSpecularGlossiness.glossinessFactor, "glossinessFactor", w.mAl);
|
||||||
}
|
}
|
||||||
|
|
||||||
WriteTex(obj, m.pbrSpecularGlossiness.diffuseTexture, "diffuseTexture", w.mAl);
|
WriteTex(pbrSpecularGlossiness, m.pbrSpecularGlossiness.diffuseTexture, "diffuseTexture", w.mAl);
|
||||||
WriteTex(obj, m.pbrSpecularGlossiness.specularGlossinessTexture, "specularGlossinessTexture", w.mAl);
|
WriteTex(pbrSpecularGlossiness, m.pbrSpecularGlossiness.specularGlossinessTexture, "specularGlossinessTexture", w.mAl);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!pbrSpecularGlossiness.ObjectEmpty()) {
|
if (!pbrSpecularGlossiness.ObjectEmpty()) {
|
||||||
|
|
Loading…
Reference in New Issue