Explorar o código

comment transparent

sunag %!s(int64=4) %!d(string=hai) anos
pai
achega
07bf1f84dc
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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.opacityNode = new FloatNode( .5 );
-				materialBox.transparent = true;
+				//materialBox.transparent = true;
 
 				box = new THREE.Mesh( geometryBox, materialBox );
 				box.position.set( 0, 1, 0 );