public void addMaterialParamTexture(VarType type, String name, ColorSpace colorSpace,Texture value) {
        matParams.put(name, new MatParamTexture(type, name, value, colorSpace));
    }
Adds a new material parameter.

@param type Type of the parameter
@param name Name of the parameter
@param colorSpace the color space of the texture required by this texture param
@param value Default value of the parameter
@see ColorSpace
jme3-core/src/main/java/com/jme3/material/MaterialDef.java