Browse Source

remove energyPreservation flags

sunag 6 năm trước cách đây
mục cha
commit
3ac3c1ee89

+ 0 - 2
examples/jsm/nodes/materials/nodes/StandardNode.js

@@ -34,8 +34,6 @@ StandardNode.prototype.build = function ( builder ) {
 
 
 	builder.define( this.clearCoat || this.clearCoatRoughness ? 'PHYSICAL' : 'STANDARD' );
 	builder.define( this.clearCoat || this.clearCoatRoughness ? 'PHYSICAL' : 'STANDARD' );
 
 
-	if ( this.energyPreservation ) builder.define( 'ENERGY_PRESERVATION' );
-
 	builder.requires.lights = true;
 	builder.requires.lights = true;
 
 
 	builder.extensions.shaderTextureLOD = true;
 	builder.extensions.shaderTextureLOD = true;