Browse Source

remove energyPreservation flags

sunag 6 years ago
parent
commit
3ac3c1ee89
1 changed files with 0 additions and 2 deletions
  1. 0 2
      examples/jsm/nodes/materials/nodes/StandardNode.js

+ 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' );
 
-	if ( this.energyPreservation ) builder.define( 'ENERGY_PRESERVATION' );
-
 	builder.requires.lights = true;
 
 	builder.extensions.shaderTextureLOD = true;