Jelajahi Sumber

Restored node clearcoat enabler

arobertson0 6 tahun lalu
induk
melakukan
57921ea4fe
1 mengubah file dengan 1 tambahan dan 1 penghapusan
  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号