|
@@ -8,8 +8,6 @@
|
|
|
* fragmentShader: <string>,
|
|
|
* vertexShader: <string>,
|
|
|
*
|
|
|
- * shading: THREE.SmoothShading,
|
|
|
- *
|
|
|
* wireframe: <boolean>,
|
|
|
* wireframeLinewidth: <float>,
|
|
|
*
|
|
@@ -33,8 +31,6 @@ THREE.ShaderMaterial = function ( parameters ) {
|
|
|
this.vertexShader = 'void main() {\n\tgl_Position = projectionMatrix * modelViewMatrix * vec4( position, 1.0 );\n}';
|
|
|
this.fragmentShader = 'void main() {\n\tgl_FragColor = vec4( 1.0, 0.0, 0.0, 1.0 );\n}';
|
|
|
|
|
|
- this.shading = THREE.SmoothShading;
|
|
|
-
|
|
|
this.linewidth = 1;
|
|
|
|
|
|
this.wireframe = false;
|
|
@@ -94,8 +90,6 @@ THREE.ShaderMaterial.prototype.copy = function ( source ) {
|
|
|
|
|
|
this.defines = source.defines;
|
|
|
|
|
|
- this.shading = source.shading;
|
|
|
-
|
|
|
this.wireframe = source.wireframe;
|
|
|
this.wireframeLinewidth = source.wireframeLinewidth;
|
|
|
|