public void setParam(String gltfParamName, Object value) {
        String name = getJmeParamName(gltfParamName);
        if (name == null || value == null) {
            //no mapping registered or value is null, let's ignore this param
            return;
        }
        MatParam param;
        if (value instanceof Texture) {
            MatParam defParam = getMaterial().getMaterialDef().getMaterialParam(name);
            if (defParam == null) {
                throw new AssetLoadException("Material definition " + getMaterialDefPath() + " has not param with name" + name);
            }
            if (!(defParam instanceof MatParamTexture)) {
                throw new AssetLoadException("param with name" + name + "in material definition " + getMaterialDefPath() + " should be a texture param");
            }
            param = new MatParamTexture(VarType.Texture2D, name, (Texture) value, ((MatParamTexture) defParam).getColorSpace());
            param = adaptMatParam(param);
            if (param != null) {
                getMaterial().setTextureParam(param.getName(), param.getVarType(), (Texture) param.getValue());
            }
        } else {
            param = new MatParam(getVarType(value), name, value);
            param = adaptMatParam(param);
            if (param != null) {
                getMaterial().setParam(param.getName(), param.getVarType(), param.getValue());
            }
        }
    }
Initializes material parameters to their default settings.

@param material
jme3-plugins/src/gltf/java/com/jme3/scene/plugins/gltf/MaterialAdapter.java