|
@@ -30,11 +30,11 @@ THREE.Material = function () {
|
|
|
this.depthTest = true;
|
|
|
this.depthWrite = true;
|
|
|
|
|
|
+ this.colorWrite = true;
|
|
|
+
|
|
|
this.stencilTest = false;
|
|
|
this.stencilWrite = false;
|
|
|
|
|
|
- this.colorWrite = true;
|
|
|
-
|
|
|
this.precision = null; // override the renderer's default precision for this material
|
|
|
|
|
|
this.polygonOffset = false;
|
|
@@ -260,11 +260,11 @@ THREE.Material.prototype = {
|
|
|
this.depthTest = source.depthTest;
|
|
|
this.depthWrite = source.depthWrite;
|
|
|
|
|
|
+ this.colorWrite = source.colorWrite;
|
|
|
+
|
|
|
this.stencilTest = source.stencilTest;
|
|
|
this.stencilWrite = source.stencilWrite;
|
|
|
|
|
|
- this.colorWrite = source.colorWrite;
|
|
|
-
|
|
|
this.precision = source.precision;
|
|
|
|
|
|
this.polygonOffset = source.polygonOffset;
|