|
@@ -231,7 +231,7 @@ Material.prototype = Object.assign( Object.create( EventDispatcher.prototype ),
|
|
|
|
|
|
// rotation (SpriteMaterial)
|
|
// rotation (SpriteMaterial)
|
|
if ( this.rotation !== 0 ) data.rotation = this.rotation;
|
|
if ( this.rotation !== 0 ) data.rotation = this.rotation;
|
|
-
|
|
|
|
|
|
+
|
|
if ( this.polygonOffset === true ) data.polygonOffset = true;
|
|
if ( this.polygonOffset === true ) data.polygonOffset = true;
|
|
if ( this.polygonOffsetFactor !== 0 ) data.polygonOffsetFactor = this.polygonOffsetFactor;
|
|
if ( this.polygonOffsetFactor !== 0 ) data.polygonOffsetFactor = this.polygonOffsetFactor;
|
|
if ( this.polygonOffsetUnits !== 0 ) data.polygonOffsetUnits = this.polygonOffsetUnits;
|
|
if ( this.polygonOffsetUnits !== 0 ) data.polygonOffsetUnits = this.polygonOffsetUnits;
|