Browse Source

cleanup debug code

sunag 4 years ago
parent
commit
fc1288f5b0
1 changed files with 3 additions and 7 deletions
  1. 3 7
      examples/jsm/renderers/webgpu/WebGPUNodeBuilder.js

+ 3 - 7
examples/jsm/renderers/webgpu/WebGPUNodeBuilder.js

@@ -17,18 +17,16 @@ class WebGPUNodeUniformsGroup extends WebGPUUniformsGroup {
 			
 		this.setVisibility( shaderStageVisibility );
 		
-		this.setOnBeforeUpdate( this._onBeforeUpdate );
+		//this.setOnBeforeUpdate( this._onBeforeUpdate );
 		
 	}
-	
+	/*
 	_onBeforeUpdate( object, camera ) {
 		
 		const material = object.material;
 		
-		console.log( 1 );
-		
 	}
-	
+	*/
 }
 
 class WebGPUNodeBuilder extends NodeBuilder {
@@ -141,8 +139,6 @@ class WebGPUNodeBuilder extends NodeBuilder {
 
 		finalCode += code.substr( versionStrIndex );
 
-		console.log( finalCode );
-
 		return finalCode;
 		
 	}