You should register your plugin in the Babylon class store:
BABYLON.RegisterClass("BABYLON.TestMaterialPluginName", TestMaterialPlugin);
The doc will be updated to make it explicit:
You should register your plugin in the Babylon class store:
BABYLON.RegisterClass("BABYLON.TestMaterialPluginName", TestMaterialPlugin);
The doc will be updated to make it explicit: