public void clearUniformsSetByCurrentFlag() {
        int size = uniforms.size();
        for (int i = 0; i < size; i++) {
            Uniform u = uniforms.getValue(i);
            u.clearSetByCurrentMaterial();
        }
    }
Removes the "set-by-current-material" flag from all uniforms.
When a uniform is modified after this call, the flag shall
become "set-by-current-material".
A call to {@link #resetUniformsNotSetByCurrent() } will reset
all uniforms that do not have the "set-by-current-material" flag
to their default value (usually all zeroes or false).
jme3-core/src/main/java/com/jme3/shader/Shader.java