Browse Source

Added linewidth to ShaderMaterial. Closes #3255.

Mr.doob 12 years ago
parent
commit
82b9a10a80
1 changed files with 2 additions and 0 deletions
  1. 2 0
      src/materials/ShaderMaterial.js

+ 2 - 0
src/materials/ShaderMaterial.js

@@ -41,6 +41,8 @@ THREE.ShaderMaterial = function ( parameters ) {
 
 	this.shading = THREE.SmoothShading;
 
+	this.linewidth = 1;
+
 	this.wireframe = false;
 	this.wireframeLinewidth = 1;