In this tutorial, we’ll learn how to customize non-PBR material to pbr material during glTF exporting, this is useful when you have you own policy to convert the material.
We’ll create a box object, add a Phong material to it, and attach the box to the scene. We will customize the material converter to convert PhongMaterial to PbrMaterial in a GltfSaveOptions.