fromJSON(json, parent, server) {
        var obj = parent === undefined ? new THREE.ShadowMaterial() : parent;

        MaterialSerializer.prototype.fromJSON.call(this, json, obj, server);

        return obj;
    }
ShadowMaterialSerializer
@author tengge / https://github.com/tengge1