GLTFExporter does not support ShaderMaterial. The reason for this is explained here:
GLTFExporter
ShaderMaterial