Skip to content

Commit

Permalink
Merge branch 'remove-onBeforeRender-dep-GLTFLoader' of https://github…
Browse files Browse the repository at this point in the history
….com/pailhead/three.js into remove-onBeforeRender-dep-GLTFLoader
  • Loading branch information
pailhead committed May 26, 2018
2 parents 5397a01 + 6622b44 commit 6204e49
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions examples/js/loaders/GLTFLoader.js
Original file line number Diff line number Diff line change
Expand Up @@ -705,7 +705,6 @@ THREE.GLTFLoader = ( function () {

var pbrSpecularGlossiness = material.extensions[ this.name ];


params.color = new THREE.Color( 1.0, 1.0, 1.0 );
params.opacity = 1.0;

Expand Down Expand Up @@ -750,7 +749,6 @@ THREE.GLTFLoader = ( function () {

createMaterial: function ( params ) {

// extend StandardMaterial with onBeforeCompile
var material = new SpecularGlossinessPbrMaterial( params );
material.fog = true;

Expand Down

0 comments on commit 6204e49

Please sign in to comment.