Skip to content

Commit

Permalink
Broke webgl_materials_nodes.html to expose bug
Browse files Browse the repository at this point in the history
  • Loading branch information
DanielSturk committed Jun 3, 2019
1 parent a811d22 commit dca1fac
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions examples/webgl_materials_nodes.html
Original file line number Diff line number Diff line change
Expand Up @@ -981,6 +981,9 @@

mtl.needsUpdate = true;

var killer = new THREE.PhongNodeMaterial();
killer.needsUpdate = false; // this is used mtl.onBeforeCompile

} );

break;
Expand Down

0 comments on commit dca1fac

Please sign in to comment.