@Override
    public void write(JmeExporter ex) throws IOException {
        OutputCapsule oc = ex.getCapsule(this);
        oc.write(def.getAssetName(), "material_def", null);
        oc.write(additionalState, "render_state", null);
        oc.write(transparent, "is_transparent", false);
        oc.write(name, "name", null);
        oc.writeStringSavableMap(paramValues, "parameters", null);
    }
Called by {@link RenderManager} to render the geometry by
using this material.

Note that this version of the render method
does not perform light filtering.

@param geom The geometry to render
@param rm The render manager requesting the rendering
jme3-core/src/main/java/com/jme3/material/Material.java