Преглед изворни кода

Restored node clearcoat enabler

arobertson0 пре 6 година
родитељ
комит
57921ea4fe
1 измењених фајлова са 1 додато и 1 уклоњено
  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 ){
 

粤ICP备19079148号