mrdoob/three.js — pull request #5034 by Oletus (2014-07-07 11:27:35+00:00)
Title: Refresh light uniforms only when needed

After this change, if 'clean' property is added to an uniform and
evaluates to true, the uniform is not uploaded to the GPU. This is used
to avoid needlessly refreshing lights uniforms when the material changes
but the program does not, saving CPU usage.