* fix lights=false * cleanup
@@ -14,10 +14,10 @@ class MeshMatcapNodeMaterial extends NodeMaterial {
super();
- this.isMeshMatcapNodeMaterial = true;
-
this.lights = false;
+ this.isMeshMatcapNodeMaterial = true;
+
this.setDefaultValues( defaultValues );
this.setValues( parameters );
@@ -15,6 +15,8 @@ class MeshNormalNodeMaterial extends NodeMaterial {
+ this.lights = false;
this.isMeshNormalNodeMaterial = true;