I am making a material extention for the glTF loader based on the User Extention part of this article; Extending the glTF Loader in Babylon.js - Babylon.js - Medium
I want to invoke the regular PBR material for some materials and “convert” them to standardmaterial for others. Using just the approach from the article will “convert” all PBR materials. I am set custom properties in Blender to export them as extras in glTF to make the distinction between what materials i want to convert and what I just want to pass to the default PBR material creation.
So the question becomes; How do I invoke the default behaviour from within my extention?