src/systems/material.js
function (material) {
    var materials = this.materials;
    Object.keys(materials).forEach(function (uuid) {
      materials[uuid].needsUpdate = true;
    });
  }
function (material) {
    var materials = this.materials;
    Object.keys(materials).forEach(function (uuid) {
      materials[uuid].needsUpdate = true;
    });
  }
function ( material ) { var materials = this . materials ; Object . keys ( materials ) . forEach ( function ( uuid ) { materials [ uuid ] . needsUpdate = true ; } ) ; }
Trigger update to all registered materials.
Trigger update to all registered materials .