public void setColorWrite(boolean colorWrite) {
        applyColorWrite = true;
        this.colorWrite = colorWrite;
        cachedHashCode = -1;
    }
Enable writing color.

<p>When color write is enabled, the result of a fragment shader, the
<code>gl_FragColor</code>, will be rendered into the color buffer
(including alpha).

@param colorWrite Set to true to enable color writing.
jme3-core/src/main/java/com/jme3/material/RenderState.java