public void addShaderParamDefine(String paramName, VarType paramType, String defineName) {
        int defineId = defineNames.size();

        paramToDefineId.put(paramName, defineId);
        defineNames.add(defineName);
        defineTypes.add(paramType);
    }
Adds a define linked to a material parameter.
<p>
Any time the material parameter on the parent material is altered,
the appropriate define on the technique will be modified as well.
When set, the material parameter will be mapped to an integer define,
typically <code>1</code> if it is set, unless it is an integer or a float,
in which case it will be converted into an integer.

@param paramName The name of the material parameter to link to.
@param paramType The type of the material parameter to link to.
@param defineName The name of the define parameter, e.g. USE_LIGHTING
jme3-core/src/main/java/com/jme3/material/TechniqueDef.java