Browse Source

Restored node clearcoat enabler

arobertson0 6 years ago
parent
commit
57921ea4fe
1 changed files with 1 additions and 1 deletions
  1. 1 1
      examples/jsm/nodes/materials/nodes/StandardNode.js

+ 1 - 1
examples/jsm/nodes/materials/nodes/StandardNode.js

@@ -35,7 +35,7 @@ StandardNode.prototype.build = function ( builder ) {
 
 	builder.define('PHYSICAL');
 
-	var useClearcoat = this.clearcoat;
+	var useClearcoat = this.clearcoat || this.clearcoatRoughness || this.clearCoatNormal;
 
 	if( useClearcoat ){