瀏覽代碼

Update webgpu_xr_native_layers.html

Fix `outputBufferType` parameter.
Michael Herzog 7 月之前
父節點
當前提交
bc694c80d5
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      examples/webgpu_xr_native_layers.html

+ 1 - 1
examples/webgpu_xr_native_layers.html

@@ -180,7 +180,7 @@
 
 				//
 
-				renderer = new THREE.WebGPURenderer( { antialias: true, forceWebGL: true, colorBufferType: THREE.UnsignedByteType, multiview: true } );
+				renderer = new THREE.WebGPURenderer( { antialias: true, forceWebGL: true, outputBufferType: THREE.UnsignedByteType, multiview: true } );
 				renderer.setPixelRatio( window.devicePixelRatio );
 				renderer.setSize( window.innerWidth, window.innerHeight );
 				renderer.setAnimationLoop( render );

粤ICP备19079148号