public void setBoolean(String name, boolean value) {
        setParam(name, VarType.Boolean, value);
    }
Pass a boolean to the material shader.

@param name the name of the boolean defined in the material definition (j3md)
@param value the boolean value
jme3-core/src/main/java/com/jme3/material/Material.java