|
@@ -220,6 +220,8 @@ Object.assign( Material.prototype, EventDispatcher.prototype, {
|
|
data.skinning = this.skinning;
|
|
data.skinning = this.skinning;
|
|
data.morphTargets = this.morphTargets;
|
|
data.morphTargets = this.morphTargets;
|
|
|
|
|
|
|
|
+ data.dithering = this.dithering;
|
|
|
|
+
|
|
// TODO: Copied from Object3D.toJSON
|
|
// TODO: Copied from Object3D.toJSON
|
|
|
|
|
|
function extractFromCache( cache ) {
|
|
function extractFromCache( cache ) {
|
|
@@ -292,6 +294,8 @@ Object.assign( Material.prototype, EventDispatcher.prototype, {
|
|
this.polygonOffsetFactor = source.polygonOffsetFactor;
|
|
this.polygonOffsetFactor = source.polygonOffsetFactor;
|
|
this.polygonOffsetUnits = source.polygonOffsetUnits;
|
|
this.polygonOffsetUnits = source.polygonOffsetUnits;
|
|
|
|
|
|
|
|
+ this.dithering = source.dithering;
|
|
|
|
+
|
|
this.alphaTest = source.alphaTest;
|
|
this.alphaTest = source.alphaTest;
|
|
|
|
|
|
this.premultipliedAlpha = source.premultipliedAlpha;
|
|
this.premultipliedAlpha = source.premultipliedAlpha;
|