refreshUniformsMatcap method

dynamic refreshUniformsMatcap(
  1. dynamic uniforms,
  2. dynamic material
)

Implementation

refreshUniformsMatcap(uniforms, material) {
  if (material.matcap != null) {
    uniforms["matcap"]["value"] = material.matcap;
  }
}