浏览代码

comment transparent

sunag 4 年之前
父节点
当前提交
07bf1f84dc
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      examples/webgpu_sandbox.html

+ 1 - 1
examples/webgpu_sandbox.html

@@ -55,7 +55,7 @@
 
 
 				materialBox.colorNode = new OperatorNode( '+', new FloatNode( .5 ).setConst( true ), new Vector3Node( new THREE.Vector3( 0, 0, 1 ) ) );
 				materialBox.colorNode = new OperatorNode( '+', new FloatNode( .5 ).setConst( true ), new Vector3Node( new THREE.Vector3( 0, 0, 1 ) ) );
 				materialBox.opacityNode = new FloatNode( .5 );
 				materialBox.opacityNode = new FloatNode( .5 );
-				materialBox.transparent = true;
+				//materialBox.transparent = true;
 
 
 				box = new THREE.Mesh( geometryBox, materialBox );
 				box = new THREE.Mesh( geometryBox, materialBox );
 				box.position.set( 0, 1, 0 );
 				box.position.set( 0, 1, 0 );