public void addMaterialParam(VarType type, String name, Object value) {
        matParams.put(name, new MatParam(type, name, value));
    }
Adds a new material parameter.

@param type Type of the parameter
@param name Name of the parameter
@param value Default value of the parameter
jme3-core/src/main/java/com/jme3/material/MaterialDef.java