protected boolean updateRightFromUniforms(UniformBinding param, VariableMapping mapping, Map<String, DeclaredVariable> map) {

        ShaderNodeVariable right = mapping.getRightVariable();
        String name = param.toString();

        DeclaredVariable dv = map.get(name);
        if (dv == null) {
            right.setType(param.getGlslType());
            right.setName(name);
            right.setPrefix("g_");
            dv = new DeclaredVariable(right);
            map.put(right.getName(), dv);
            dv.addNode(shaderNode);
            mapping.setRightVariable(right);
            return true;
        }
        dv.addNode(shaderNode);
        mapping.setRightVariable(dv.var);
        return false;
    }
updates the right variable of the given mapping from a UniformBinding (a
WorldParam) it checks if the uniform hasn't already been loaded, add it
to the maps if not.

@param param the WorldParam UniformBinding
@param mapping the mapping
@param map the map of uniforms to search into
@return true if the param was added to the map
jme3-core/src/plugins/java/com/jme3/material/plugins/ShaderNodeLoaderDelegate.java