浏览代码

Broke webgl_materials_nodes.html to expose bug

Daniel Sturk 6 年之前
父节点
当前提交
dca1fac0f1
共有 1 个文件被更改,包括 3 次插入0 次删除
  1. 3 0
      examples/webgl_materials_nodes.html

+ 3 - 0
examples/webgl_materials_nodes.html

@@ -981,6 +981,9 @@
 
 							mtl.needsUpdate = true;
 
+							var killer = new THREE.PhongNodeMaterial();
+							killer.needsUpdate = false; // this is used mtl.onBeforeCompile
+
 						} );
 
 						break;