diff --git a/src/materials/nodes/LineDashedNodeMaterial.js b/src/materials/nodes/LineDashedNodeMaterial.js index ed06e7080fe0c4..d60f1be7c2f8d3 100644 --- a/src/materials/nodes/LineDashedNodeMaterial.js +++ b/src/materials/nodes/LineDashedNodeMaterial.js @@ -112,7 +112,7 @@ class LineDashedNodeMaterial extends NodeMaterial { */ setupVariants( /* builder */ ) { - const offsetNode = this.offsetNode ? float( this.offsetNodeNode ) : materialLineDashOffset; + const offsetNode = this.offsetNode ? float( this.offsetNode ) : materialLineDashOffset; const dashScaleNode = this.dashScaleNode ? float( this.dashScaleNode ) : materialLineScale; const dashSizeNode = this.dashSizeNode ? float( this.dashSizeNode ) : materialLineDashSize; const gapSizeNode = this.gapSizeNode ? float( this.gapSizeNode ) : materialLineGapSize;