From 4847d475f77e3435e9ca95c1ce2a122d6d6c5355 Mon Sep 17 00:00:00 2001 From: Mugen87 Date: Sun, 20 Dec 2015 20:08:41 +0100 Subject: [PATCH] add colorWrite to material copy method --- src/materials/Material.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/materials/Material.js b/src/materials/Material.js index c9230bd277..e79e7dc9a9 100644 --- a/src/materials/Material.js +++ b/src/materials/Material.js @@ -257,6 +257,8 @@ THREE.Material.prototype = { this.depthTest = source.depthTest; this.depthWrite = source.depthWrite; + this.colorWrite = source.colorWrite; + this.precision = source.precision; this.polygonOffset = source.polygonOffset; -- GitLab